diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 02:27:08 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:13:45 +0200 |
commit | 31449f9e22cf4b5ae0f147a46bcbbf6f53a098a5 (patch) | |
tree | 63e5728b9246e76a60c9ccac0564c3a5d74126cf /module/plugins/internal | |
parent | Removed all @author flags + key attributes cleanup for internal & hooks plugins (diff) | |
download | pyload-31449f9e22cf4b5ae0f147a46bcbbf6f53a098a5.tar.xz |
Fix class definition
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/CaptchaService.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py index c2c66ed31..b2f73e4ea 100644 --- a/module/plugins/internal/CaptchaService.py +++ b/module/plugins/internal/CaptchaService.py @@ -4,7 +4,7 @@ import re from random import random -class CaptchaService(): +class CaptchaService: __name__ = "CaptchaService" __version__ = "0.05" @@ -17,7 +17,7 @@ class CaptchaService(): self.plugin = plugin -class ReCaptcha(): +class ReCaptcha: RECAPTCHA_KEY_PATTERN = r"https?://(?:www\.)?google\.com/recaptcha/api/challenge\?k=(?P<key>\w+)" RECAPTCHA_KEY_AJAX_PATTERN = r"Recaptcha\.create\s*\(\s*[\"'](?P<key>\w+)[\"']\s*," |