summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/CrockoCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/CrockoCom.py')
-rw-r--r--pyload/plugins/hoster/CrockoCom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/CrockoCom.py b/pyload/plugins/hoster/CrockoCom.py
index 569cef01d..8bd21f041 100644
--- a/pyload/plugins/hoster/CrockoCom.py
+++ b/pyload/plugins/hoster/CrockoCom.py
@@ -35,8 +35,7 @@ class CrockoCom(SimpleHoster):
found = re.search(self.CAPTCHA_URL_PATTERN, self.html)
if found:
url, wait_time = 'http://crocko.com' + found.group(1), found.group(2)
- self.setWait(wait_time)
- self.wait()
+ self.wait(wait_time)
self.html = self.load(url)
else:
break