summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 16:13:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 16:13:20 +0200
commitebf46ec14c4604c159801435d8c1231089ba760e (patch)
tree188f518a21f4b6e997c89f1aa4256fbe83961760
parentBoring code cosmetics (diff)
downloadpyload-ebf46ec14c4604c159801435d8c1231089ba760e.tar.xz
[Extractor] Fix https://github.com/pyload/pyload/issues/2060
-rw-r--r--module/plugins/internal/Extractor.py9
-rw-r--r--module/plugins/internal/UnZip.py5
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)