diff options
| author | 2015-03-24 18:55:50 +0100 | |
|---|---|---|
| committer | 2015-03-24 18:55:50 +0100 | |
| commit | 86ad6441ac4f88ab78e8dec6f2ca8879982f6012 (patch) | |
| tree | f0dd7882928e8f41dac8477d775dc0502098c883 /module/plugins/internal | |
| parent | [ExtractArchive] extract archive even if first part is not in package (diff) | |
| download | pyload-86ad6441ac4f88ab78e8dec6f2ca8879982f6012.tar.xz | |
[ExtractArchive] Bugfix
Diffstat (limited to 'module/plugins/internal')
| -rw-r--r-- | module/plugins/internal/UnRar.py | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index b75e21f57..87cf61a62 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.17" +    __version__ = "1.18"      __description__ = """Rar extractor plugin"""      __license__     = "GPLv3" @@ -80,11 +80,7 @@ class UnRar(Extractor):      @classmethod      def isMultipart(cls, filename): -        multipart = cls.re_multipart.search(filename) -        if multipart: -            return True if not multipart.group(3) else False - -        return False +        return True if cls.re_multipart.search(filename) else False      def test(self, password):  | 
