summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UpstoreNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-23 00:50:23 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-23 00:50:23 +0200
commit7b67f68c1636014fe02286da71bdc6c13dc3eeee (patch)
treefce6a94fd3091c6f917acafcc53e71bd08097d5c /module/plugins/hoster/UpstoreNet.py
parent[XFSPAccount] Better HOSTER_URL (diff)
downloadpyload-7b67f68c1636014fe02286da71bdc6c13dc3eeee.tar.xz
Simplify captcha challenge calls
Diffstat (limited to 'module/plugins/hoster/UpstoreNet.py')
-rw-r--r--module/plugins/hoster/UpstoreNet.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/hoster/UpstoreNet.py b/module/plugins/hoster/UpstoreNet.py
index 257a186eb..2e500dc01 100644
--- a/module/plugins/hoster/UpstoreNet.py
+++ b/module/plugins/hoster/UpstoreNet.py
@@ -40,9 +40,7 @@ class UpstoreNet(SimpleHoster):
# STAGE 2: solv captcha and wait
# first get the infos we need: recaptcha key and wait time
recaptcha = ReCaptcha(self)
- if recaptcha.detect_key() is None:
- self.error("ReCaptcha key not found")
- self.logDebug("Using captcha key " + recaptcha.key)
+
# try the captcha 5 times
for i in xrange(5):
m = re.search(self.WAIT_PATTERN, self.html)