From dbeb21da8cb2eca52bcfcf8e8686947f41f71683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20H=C3=B6rnlein?= Date: Wed, 25 Feb 2015 20:55:13 +0100 Subject: * [ExtractArchive] fixes 'Could not activate UnRar' --- module/plugins/internal/SevenZip.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal/SevenZip.py') diff --git a/module/plugins/internal/SevenZip.py b/module/plugins/internal/SevenZip.py index bfa7f3943..8a3c67f0e 100644 --- a/module/plugins/internal/SevenZip.py +++ b/module/plugins/internal/SevenZip.py @@ -11,7 +11,7 @@ from module.utils import fs_encode, save_join class SevenZip(UnRar): __name__ = "SevenZip" - __version__ = "0.09" + __version__ = "0.10" __description__ = """7-Zip extractor plugin""" __license__ = "GPLv3" @@ -47,7 +47,8 @@ class SevenZip(UnRar): p = Popen([cls.CMD], stdout=PIPE, stderr=PIPE) out, err = p.communicate() - cls.VERSION = cls.re_version.search(out).group(1) + m = cls.re_version.search(out) + cls.VERSION = m.group(1) if m else '(version unknown)' return True -- cgit v1.2.3