diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 01:09:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 01:09:59 +0200 |
commit | ecf37227de05c73b7ffe2da89a5eda1259a72543 (patch) | |
tree | 01936b0bd250d18a2939df73f71a30898740ff4b /module/plugins/internal/OCR.py | |
parent | Missed to bump up some plugin __version__ (diff) | |
download | pyload-ecf37227de05c73b7ffe2da89a5eda1259a72543.tar.xz |
Improve _log method
Diffstat (limited to 'module/plugins/internal/OCR.py')
-rw-r--r-- | module/plugins/internal/OCR.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/OCR.py b/module/plugins/internal/OCR.py index 37a33206f..998b3f040 100644 --- a/module/plugins/internal/OCR.py +++ b/module/plugins/internal/OCR.py @@ -21,7 +21,7 @@ from module.utils import save_join as fs_join class OCR(Plugin): __name__ = "OCR" __type__ = "ocr" - __version__ = "0.14" + __version__ = "0.15" __status__ = "testing" __description__ = """OCR base plugin""" @@ -44,8 +44,8 @@ class OCR(Plugin): pass - def _log(self, level, args): - return self.plugin._log(level, (self.__name__,) + args) + def _log(self, level, plugintype, pluginname, messages): + return self.plugin._log(level, plugintype, pluginname, (self.__name__,) + messages) def load_image(self, image): |