diff options
Diffstat (limited to 'module/plugins/internal/UnRar.py')
-rw-r--r-- | module/plugins/internal/UnRar.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index ca8fdd326..7a02ba6bd 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -22,7 +22,7 @@ def renice(pid, value): class UnRar(Extractor): __name__ = "UnRar" - __version__ = "1.14" + __version__ = "1.15" __description__ = """Rar extractor plugin""" __license__ = "GPLv3" @@ -70,7 +70,8 @@ class UnRar(Extractor): 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 |