summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Captcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 11:23:08 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:18 +0200
commitd99d6eddb6af637580bb6fc72013f913077525d6 (patch)
tree3a2be1b471d34ae293ec96f2110e9fc452a6e638 /module/plugins/internal/Captcha.py
parent[Hoster] Import fixup (diff)
downloadpyload-d99d6eddb6af637580bb6fc72013f913077525d6.tar.xz
Spare fixes
Diffstat (limited to 'module/plugins/internal/Captcha.py')
-rw-r--r--module/plugins/internal/Captcha.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py
index 8dbc33da2..4629c9522 100644
--- a/module/plugins/internal/Captcha.py
+++ b/module/plugins/internal/Captcha.py
@@ -3,7 +3,6 @@
from module.plugins.internal.Plugin import Plugin
-#@TODO: Extend (new) Plugin class; remove all `html` args
class Captcha(Plugin):
__name__ = "Captcha"
__type__ = "captcha"
@@ -11,16 +10,15 @@ class Captcha(Plugin):
__description__ = """Base captcha service plugin"""
__license__ = "GPLv3"
- __authors__ = [("pyLoad Team", "admin@pyload.org")]
-
-
- key = None #: last key detected
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
def __init__(self, plugin):
- self.plugin = plugin
super(Captcha, self).__init__(plugin.core)
+ self.plugin = plugin
+ self.key = None #: last key detected
+
#@TODO: Recheck in 0.4.10
def retrieve_key(self, html):