summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/OCR.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/OCR.py')
-rw-r--r--module/plugins/internal/OCR.py6
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):