diff options
author | Jeix <devnull@localhost> | 2010-08-04 18:35:54 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-08-04 18:35:54 +0200 |
commit | 91939fb1a8c1bca5a99fabc797eee839f59fb88c (patch) | |
tree | 7f5d05a78613e62b6ee0c08b3eac891ee124e46d /module/plugins/Plugin.py | |
parent | better output formatting, somefixes (diff) | |
download | pyload-91939fb1a8c1bca5a99fabc797eee839f59fb88c.tar.xz |
netload, ocr
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 19b5983a6..29fdebde8 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -24,6 +24,8 @@ from os.path import join from time import time from time import sleep +from random import randint + import sys from os.path import exists @@ -185,6 +187,7 @@ class Plugin(object): Ocr = self.core.pluginManager.getCaptchaPlugin(self.__name__) if Ocr: + sleep(randint(3000, 5000) / 1000.0) ocr = Ocr() result = ocr.get_captcha(temp.name) else: |