diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:39:08 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 19:39:08 +0200 |
commit | 34abcd53a83582215d13056b1f23c61bc7dbf3a7 (patch) | |
tree | 8a62481a0d2af00e85ef7d72097e763ca6de8ed4 /module/plugins/internal/OCR.py | |
parent | Update internals (diff) | |
download | pyload-34abcd53a83582215d13056b1f23c61bc7dbf3a7.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/internal/OCR.py')
-rw-r--r-- | module/plugins/internal/OCR.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/internal/OCR.py b/module/plugins/internal/OCR.py index 10fd493b7..c78c0c38b 100644 --- a/module/plugins/internal/OCR.py +++ b/module/plugins/internal/OCR.py @@ -42,10 +42,8 @@ class OCR(Plugin): def _log(self, level, plugintype, pluginname, messages): - return self.plugin._log(level, - plugintype, - self.plugin.__name__, - (self.__name__,) + messages) + messages = (self.__name__,) + messages + return self.plugin._log(level, plugintype, self.plugin.__name__, messages) def load_image(self, image): |