summaryrefslogtreecommitdiffstats
path: root/module/Plugin.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-30 17:33:14 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-30 17:33:14 +0100
commit7c28259f92c2b3c608583ff128a5ae4134d4c48f (patch)
tree1cc8d9e95c38f51b0efaef927e0036b677355068 /module/Plugin.py
parentsignal slot stuff (diff)
downloadpyload-7c28259f92c2b3c608583ff128a5ae4134d4c48f.tar.xz
moved captcha stuff, extended serienjunkies, some other stuff
Diffstat (limited to 'module/Plugin.py')
-rw-r--r--module/Plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/Plugin.py b/module/Plugin.py
index f3830595d..c33e0d565 100644
--- a/module/Plugin.py
+++ b/module/Plugin.py
@@ -32,7 +32,7 @@ class Plugin():
self.config = {}
props = {}
props['name'] = "BasePlugin"
- props['version'] = "0.2"
+ props['version'] = "0.3"
props['pattern'] = None
props['type'] = "hoster"
props['description'] = """Base Plugin"""
@@ -47,6 +47,7 @@ class Plugin():
self.multi_dl = True
self.ocr = None #captcha reader instance
self.logger = logging.getLogger("log")
+ self.decryptNow = True
def prepare(self, thread):
pyfile = self.parent
@@ -127,7 +128,7 @@ class Plugin():
pass
def init_ocr(self):
- modul = __import__("module.captcha." + self.props['name'], fromlist=['captcha'])
+ modul = __import__("module.plugins.captcha." + self.props['name'], fromlist=['captcha'])
captchaClass = getattr(modul, self.props['name'])
self.ocr = captchaClass()