From ecf37227de05c73b7ffe2da89a5eda1259a72543 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 28 Jul 2015 01:09:59 +0200 Subject: Improve _log method --- module/plugins/internal/Captcha.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/internal/Captcha.py') diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index db2d25a8a..486d92c19 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -10,7 +10,7 @@ from module.plugins.internal.Plugin import Plugin class Captcha(Plugin): __name__ = "Captcha" __type__ = "captcha" - __version__ = "0.34" + __version__ = "0.35" __status__ = "testing" __description__ = """Base anti-captcha plugin""" @@ -34,8 +34,8 @@ class Captcha(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 recognize(self, image): -- cgit v1.2.3