diff options
author | 2015-04-13 17:20:59 +0200 | |
---|---|---|
committer | 2015-04-13 17:20:59 +0200 | |
commit | e00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch) | |
tree | 31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/plugin/extractor/SevenZip.py | |
parent | Fix except (diff) | |
download | pyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz |
Cleanup
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() |