diff options
Diffstat (limited to 'pyload/plugin/extractor/SevenZip.py')
-rw-r--r-- | pyload/plugin/extractor/SevenZip.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugin/extractor/SevenZip.py b/pyload/plugin/extractor/SevenZip.py index 71b288ab0..7cf6aee35 100644 --- a/pyload/plugin/extractor/SevenZip.py +++ b/pyload/plugin/extractor/SevenZip.py @@ -38,6 +38,8 @@ class SevenZip(UnRar): @classmethod + + def isUsable(cls): if os.name == "nt": cls.CMD = os.path.join(pypath, "7z.exe") @@ -68,7 +70,6 @@ class SevenZip(UnRar): raise CRCError(err) - def check(self, password): p = self.call_cmd("l", "-slt", fs_encode(self.filename)) out, err = p.communicate() |