diff options
author | 2015-10-22 03:01:08 +0200 | |
---|---|---|
committer | 2015-10-22 03:01:08 +0200 | |
commit | 28e340d990bfb33d4e3cacda95145761abffc462 (patch) | |
tree | 96b2cd4202fc65985488d1f21f0b5e76cfae1fa3 /module/plugins/internal/Extractor.py | |
parent | [MultiHoster] Fix get_info (diff) | |
download | pyload-28e340d990bfb33d4e3cacda95145761abffc462.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r-- | module/plugins/internal/Extractor.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py index 6c26e3a7c..e821f7aa4 100644 --- a/module/plugins/internal/Extractor.py +++ b/module/plugins/internal/Extractor.py @@ -24,7 +24,7 @@ class Extractor(Plugin): __name__ = "Extractor" __type__ = "extractor" __version__ = "0.40" - __status__ = "testing" + __status__ = "stable" __description__ = """Base extractor plugin""" __license__ = "GPLv3" @@ -76,11 +76,6 @@ class Extractor(Plugin): return targets - @property - def target(self): - return encode(self.filename) - - def __init__(self, plugin, filename, out, fullpath=True, overwrite=False, @@ -110,6 +105,11 @@ class Extractor(Plugin): self.init() + @property + def target(self): + return encode(self.filename) + + def _log(self, level, plugintype, pluginname, messages): messages = (self.__name__,) + messages return self.plugin._log(level, plugintype, self.plugin.__name__, messages) |