diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-30 21:19:39 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-30 21:19:39 +0100 |
commit | 55cbef5867cbb18cff5e8ed0ef40a2d6fd8b906a (patch) | |
tree | fe4145549dadd1742e85f1b060bb231559aa6402 /module/plugins/internal | |
parent | Fix https://github.com/pyload/pyload/issues/2239 (diff) | |
download | pyload-55cbef5867cbb18cff5e8ed0ef40a2d6fd8b906a.tar.xz |
Fix https://github.com/pyload/pyload/issues/2246
Thanks to GammaC0de
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Base.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py index 47111ca8e..b2c4acd0a 100644 --- a/module/plugins/internal/Base.py +++ b/module/plugins/internal/Base.py @@ -27,7 +27,7 @@ def parse_fileInfo(klass, url="", html=""): class Base(Plugin): __name__ = "Base" __type__ = "base" - __version__ = "0.20" + __version__ = "0.21" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -88,8 +88,10 @@ class Base(Plugin): self.js = self.pyload.js #: Captcha stuff - _Captcha = self.pyload.pluginManager.loadClass("captcha", self.classname) or Captcha - self.captcha = _Captcha(pyfile) + #@TODO: Replace in 0.4.10: + #_Captcha = self.pyload.pluginManager.loadClass("captcha", self.classname) or Captcha + # self.captcha = _Captcha(pyfile) + self.captcha = Captcha(pyfile) #: Some plugins store html code here self.data = "" |