summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hook/ImageTyperz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-20 23:07:42 +0200
commit2475ddb7654d0d6fb1be18082b5c8c480befdbb3 (patch)
treeb82a8b5fc0a309f69733b0a004284f4ef45833d8 /pyload/plugin/hook/ImageTyperz.py
parentSpare code cosmetics (9) (diff)
parentadded check of classname == filename (diff)
downloadpyload-2475ddb7654d0d6fb1be18082b5c8c480befdbb3.tar.xz
Merge branch 'pr/n10_ardi69' into 0.4.10
Conflicts: pyload/plugin/hoster/FileserveCom.py
Diffstat (limited to 'pyload/plugin/hook/ImageTyperz.py')
-rw-r--r--pyload/plugin/hook/ImageTyperz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugin/hook/ImageTyperz.py b/pyload/plugin/hook/ImageTyperz.py
index 6c3c5c84b..c134cdaeb 100644
--- a/pyload/plugin/hook/ImageTyperz.py
+++ b/pyload/plugin/hook/ImageTyperz.py
@@ -118,16 +118,16 @@ class ImageTyperz(Hook):
if self.getCredits() > 0:
task.handler.append(self)
- task.data['service'] = self.__class__.__name__
+ task.data['service'] = self.getClassName()
task.setWaiting(100)
self._processCaptcha(task)
else:
- self.logInfo(_("Your %s account has not enough credits") % self.__class__.__name__)
+ self.logInfo(_("Your %s account has not enough credits") % self.getClassName())
def captchaInvalid(self, task):
- if task.data['service'] == self.__class__.__name__ and "ticket" in task.data:
+ if task.data['service'] == self.getClassName() and "ticket" in task.data:
res = getURL(self.RESPOND_URL,
post={'action': "SETBADIMAGE",
'username': self.getConfig('username'),