summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SevenZip.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-29 23:30:56 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-29 23:30:56 +0100
commit32b3cb9d9fa6851de35f52d01f78c26012043baa (patch)
treea3d07f508d51b6592f73b01387abcd0b9dca8274 /module/plugins/internal/SevenZip.py
parent[ExtractArchive] Fix password recognition (diff)
downloadpyload-32b3cb9d9fa6851de35f52d01f78c26012043baa.tar.xz
[SevenZip] Repair not supported
Diffstat (limited to 'module/plugins/internal/SevenZip.py')
-rw-r--r--module/plugins/internal/SevenZip.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/internal/SevenZip.py b/module/plugins/internal/SevenZip.py
index e808e0d88..6ba7cfc1f 100644
--- a/module/plugins/internal/SevenZip.py
+++ b/module/plugins/internal/SevenZip.py
@@ -11,7 +11,7 @@ from module.utils import fs_encode, save_join
class SevenZip(UnRar):
__name__ = "SevenZip"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """7-Zip extractor plugin"""
__license__ = "GPLv3"
@@ -75,6 +75,10 @@ class SevenZip(UnRar):
return p.returncode == 0
+ def repair(self):
+ return False
+
+
def extract(self, password=None):
command = "x" if self.fullpath else "e"