From 55cbef5867cbb18cff5e8ed0ef40a2d6fd8b906a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 30 Dec 2015 21:19:39 +0100 Subject: Fix https://github.com/pyload/pyload/issues/2246 Thanks to GammaC0de --- module/plugins/internal/Base.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'module/plugins/internal/Base.py') 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 = "" -- cgit v1.2.3