summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Extractor.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r--module/plugins/internal/Extractor.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index 8a16cdd38..3c9af376a 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -104,7 +104,7 @@ class Extractor(Plugin):
self.excludefiles = excludefiles
self.priority = priority
self.keepbroken = keepbroken
- self.progress = lambda x: pyfile.setProgress(int(x))
+ self.files = None
self.init()
@@ -119,11 +119,6 @@ class Extractor(Plugin):
return encode(self.out)
- def _log(self, level, plugintype, pluginname, messages):
- messages = (self.__name__,) + messages
- return self.pyfile.plugin._log(level, plugintype, self.pyfile.plugin.__name__, messages)
-
-
def verify(self, password=None):
"""
Testing with Extractors built-in method
@@ -156,3 +151,9 @@ class Extractor(Plugin):
Return list of archive files
"""
raise NotImplementedError
+
+ def progress(self, x):
+ """
+ Set extraction progress
+ """
+ return self.pyfile.setProgress(int(x))