diff options
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r-- | module/plugins/internal/Extractor.py | 7 |
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. |