From 28e340d990bfb33d4e3cacda95145761abffc462 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 22 Oct 2015 03:01:08 +0200 Subject: Spare code cosmetics --- module/plugins/internal/Extractor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'module/plugins/internal/Extractor.py') 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) -- cgit v1.2.3