diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-10-19 20:17:49 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-10-19 20:17:49 +0200 |
commit | 07a04feb4507fa8699ee1e1dd7917afcfb868887 (patch) | |
tree | e7a70a2376701ae5eb379807eb15c3d63622ab22 /module/plugins/internal | |
parent | Spare fixes (diff) | |
download | pyload-07a04feb4507fa8699ee1e1dd7917afcfb868887.tar.xz |
Update UnZip.py
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/UnZip.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/UnZip.py b/module/plugins/internal/UnZip.py index d26a39f44..8788f9ca5 100644 --- a/module/plugins/internal/UnZip.py +++ b/module/plugins/internal/UnZip.py @@ -11,7 +11,7 @@ from module.plugins.internal.Extractor import Extractor, ArchiveError, CRCError, class UnZip(Extractor): __name__ = "UnZip" - __version__ = "1.17" + __version__ = "1.18" __status__ = "testing" __description__ = """Zip extractor plugin""" @@ -28,6 +28,11 @@ class UnZip(Extractor): return sys.version_info[:2] >= (2, 6) + @classmethod + def is_multipart(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) |