diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-30 14:37:44 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-30 14:37:44 +0200 |
commit | 88f98ab3bd6e091c1b6ca6ac9fddc37b2e29694c (patch) | |
tree | 2d32aa128cd0d660fc2642fb6aca789871bd80b8 /module/plugins/hooks/DeathByCaptcha.py | |
parent | Still improving _log methods (diff) | |
download | pyload-88f98ab3bd6e091c1b6ca6ac9fddc37b2e29694c.tar.xz |
Fix get_code call in captcha hooks
Diffstat (limited to 'module/plugins/hooks/DeathByCaptcha.py')
-rw-r--r-- | module/plugins/hooks/DeathByCaptcha.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/DeathByCaptcha.py b/module/plugins/hooks/DeathByCaptcha.py index c27db422b..98572191e 100644 --- a/module/plugins/hooks/DeathByCaptcha.py +++ b/module/plugins/hooks/DeathByCaptcha.py @@ -209,7 +209,7 @@ class DeathByCaptcha(Hook): try: ticket, result = self.submit(c) except DeathByCaptchaException, e: - task.error = e.getCode() + task.error = e.get_code() self.log_error(e.getDesc()) return |