summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/BypassCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-21 08:50:26 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:43:08 +0200
commite4fb45b22d36595839e8f638a3f0a4669dba3e8d (patch)
tree549ba2a4f6e23a7178b8f91c79e0c037b36412ca /module/plugins/hooks/BypassCaptcha.py
parentSpare code cosmetics (3) (diff)
downloadpyload-e4fb45b22d36595839e8f638a3f0a4669dba3e8d.tar.xz
Spare code cosmetics (4)
Diffstat (limited to 'module/plugins/hooks/BypassCaptcha.py')
-rw-r--r--module/plugins/hooks/BypassCaptcha.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/BypassCaptcha.py b/module/plugins/hooks/BypassCaptcha.py
index 1651ea067..4869288c9 100644
--- a/module/plugins/hooks/BypassCaptcha.py
+++ b/module/plugins/hooks/BypassCaptcha.py
@@ -30,8 +30,8 @@ class BypassCaptcha(Hook):
__type__ = "hook"
__version__ = "0.07"
- __config__ = [("force", "bool", "Force BC even if client is connected", False),
- ("passkey", "password", "Passkey", "")]
+ __config__ = [("passkey" , "password", "Access key" , "" ),
+ ("check_client", "bool" , "Don't use if client is connected", True)]
__description__ = """Send captchas to BypassCaptcha.com"""
__license__ = "GPLv3"
@@ -105,7 +105,7 @@ class BypassCaptcha(Hook):
if not self.getConfig('passkey'):
return False
- if self.core.isClientConnected() and not self.getConfig('force'):
+ if self.core.isClientConnected() and self.getConfig('check_client'):
return False
if self.getCredits() > 0: