diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Extractor.py | 9 | ||||
-rw-r--r-- | module/plugins/internal/UnZip.py | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py index 95395dd1f..897fc2652 100644 --- a/module/plugins/internal/Extractor.py +++ b/module/plugins/internal/Extractor.py @@ -36,7 +36,7 @@ class PasswordError(Exception): class Extractor(Plugin): __name__ = "Extractor" __type__ = "extractor" - __version__ = "0.38" + __version__ = "0.39" __status__ = "testing" __description__ = """Base extractor plugin""" @@ -57,6 +57,11 @@ class Extractor(Plugin): @classmethod + def ismultipart(cls, filename): + pass + + + @classmethod def find(cls): """ Check if system statisfy dependencies @@ -139,7 +144,7 @@ class Extractor(Plugin): def repair(self): - return False + pass def extract(self, password=None): diff --git a/module/plugins/internal/UnZip.py b/module/plugins/internal/UnZip.py index 4d615a9c5..ee35c55d5 100644 --- a/module/plugins/internal/UnZip.py +++ b/module/plugins/internal/UnZip.py @@ -28,11 +28,6 @@ class UnZip(Extractor): return sys.version_info[:2] >= (2, 6) - @classmethod - def ismultipart(cls, filename): - return False #@NOTE: Unsupported (rarely used anyway) - - def list(self, password=None): with zipfile.ZipFile(self.target, 'r', allowZip64=True) as z: z.setpassword(password) |