summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Extractor.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-27 10:28:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-27 10:28:30 +0200
commitf83389333ec10376452aa5f6d5ccd3963c6bafa1 (patch)
treeb63519f3bfcd73b728a27f91c7d786867ea1a917 /module/plugins/internal/Extractor.py
parentDon't user dictionary’s iterator methods (diff)
downloadpyload-f83389333ec10376452aa5f6d5ccd3963c6bafa1.tar.xz
Update internal plugins
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r--module/plugins/internal/Extractor.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index 668207ea3..cf9a1f6e3 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -22,7 +22,7 @@ class PasswordError(Exception):
class Extractor(Plugin):
__name__ = "Extractor"
__type__ = "extractor"
- __version__ = "0.26"
+ __version__ = "0.27"
__status__ = "testing"
__description__ = """Base extractor plugin"""
@@ -87,6 +87,7 @@ class Extractor(Plugin):
Initialize extractor for specific file
"""
self.pyload = plugin.pyload
+ self.plugin = plugin
self.info = {} #: Provide information in dict here
self.filename = filename
@@ -112,6 +113,10 @@ class Extractor(Plugin):
pass
+ def _log(self, level, args):
+ return self.plugin._log(level, (self.__name__,) + args)
+
+
def check(self):
"""
Quick Check by listing content of archive.