summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-03 15:47:30 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-03 15:47:30 +0200
commite86be5d91ddc9836a9e641ff07a439bb33bbc801 (patch)
tree1ae3c56c526cc0e0779fdd9a14d0c2b916ca39f9 /module/plugins/Plugin.py
parentlittle fixes (diff)
downloadpyload-e86be5d91ddc9836a9e641ff07a439bb33bbc801.tar.xz
netload prefetching fix
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 7790a0801..9995da59a 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -208,7 +208,7 @@ class Plugin(object):
Ocr = self.core.pluginManager.getCaptchaPlugin(self.__name__)
- if Ocr and not forceUser:
+ if Ocr and not forceUser and self.core.captcha:
sleep(randint(3000, 5000) / 1000.0)
if self.pyfile.abort: raise Abort