summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/UnZip.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/UnZip.py')
-rw-r--r--module/plugins/internal/UnZip.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/internal/UnZip.py b/module/plugins/internal/UnZip.py
index 704b49ca0..d95afbc70 100644
--- a/module/plugins/internal/UnZip.py
+++ b/module/plugins/internal/UnZip.py
@@ -12,7 +12,7 @@ from module.utils import fs_encode
class UnZip(Extractor):
__name__ = "UnZip"
- __version__ = "1.10"
+ __version__ = "1.11"
__description__ = """Zip extractor plugin"""
__license__ = "GPLv3"
@@ -34,7 +34,11 @@ class UnZip(Extractor):
return z.namelist()
- def check(self):
+ def check(self, password):
+ pass
+
+
+ def test(self):
with zipfile.ZipFile(fs_encode(self.filename), 'r', allowZip64=True) as z:
badfile = z.testzip()