diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-20 02:32:36 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-20 02:32:36 +0100 |
commit | 6acbca30b0de51462b1a486c83d936c0c4f5d94e (patch) | |
tree | bb6aae47aca0294302b33be816bef3e30d397add /pyload/plugins/hook/Captcha9kw.py | |
parent | [Addon] Periodical default to off (diff) | |
download | pyload-6acbca30b0de51462b1a486c83d936c0c4f5d94e.tar.xz |
Import threading instead thread + thread cleanup
Diffstat (limited to 'pyload/plugins/hook/Captcha9kw.py')
-rw-r--r-- | pyload/plugins/hook/Captcha9kw.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pyload/plugins/hook/Captcha9kw.py b/pyload/plugins/hook/Captcha9kw.py index d99ceeec3..fa4710542 100644 --- a/pyload/plugins/hook/Captcha9kw.py +++ b/pyload/plugins/hook/Captcha9kw.py @@ -5,7 +5,6 @@ from __future__ import with_statement import re from base64 import b64encode -from thread import start_new_thread from time import sleep from pyload.network.HTTPRequest import BadHeader @@ -19,8 +18,7 @@ class Captcha9kw(Hook): __type__ = "hook" __version__ = "0.24" - __config__ = [("activated", "bool", "Activated", True), - ("ssl", "bool", "Use HTTPS", True), + __config__ = [("ssl", "bool", "Use HTTPS", True), ("force", "bool", "Force captcha resolving even if client is connected", True), ("confirm", "bool", "Confirm Captcha (cost +6 credits)", False), ("captchaperhour", "int", "Captcha per hour", "9999"), |