summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-06 19:08:06 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-06 19:08:06 +0200
commit01e76034bcad5e5aab7f6e141782071e5c328649 (patch)
tree47997c9eb7dd7628429313936a62a19a000af964 /module/plugins/hoster
parentRemove two dead plugins (diff)
downloadpyload-01e76034bcad5e5aab7f6e141782071e5c328649.tar.xz
Fix account checkLogin + related code cosmetics
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/NetloadIn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 4b8842d18..a011d87b4 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -176,9 +176,9 @@ class NetloadIn(Hoster):
return True
if ">An access request has been made from IP address <" in page:
wait = self.get_wait_time(page)
- if wait == 0:
+ if not wait:
self.logDebug("Netload: Wait was 0 setting 30")
- wait = 30
+ wait = 30 * 60
self.logInfo(_("Netload: waiting between downloads %d s." % wait))
self.wantReconnect = True
self.setWait(wait)