summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/DeathByCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-18 06:09:04 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:37:54 +0100
commit58125cc90a78b67093b8213247ea647dd67dd9ca (patch)
tree69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/hooks/DeathByCaptcha.py
parent[OCR] self.image -> self.img (diff)
downloadpyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz
Spare code fixes
Diffstat (limited to 'module/plugins/hooks/DeathByCaptcha.py')
-rw-r--r--module/plugins/hooks/DeathByCaptcha.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/DeathByCaptcha.py b/module/plugins/hooks/DeathByCaptcha.py
index 0e94c9cda..62cfe7d16 100644
--- a/module/plugins/hooks/DeathByCaptcha.py
+++ b/module/plugins/hooks/DeathByCaptcha.py
@@ -10,8 +10,8 @@ import pycurl
from module.network.HTTPRequest import BadHeader
from module.network.RequestFactory import getRequest as get_request
-from module.plugins.internal.Addon import Addon
-from module.plugins.internal.misc import json, threaded
+from module.plugins.internal.Addon import Addon, threaded
+from module.plugins.internal.misc import json
class DeathByCaptchaException(Exception):
@@ -209,7 +209,7 @@ class DeathByCaptcha(Addon):
@threaded
- def _process_captcha(self, task)
+ def _process_captcha(self, task):
c = task.captchaFile
try:
ticket, result = self.submit(c)