summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Keep2shareCC.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 16:04:10 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 16:04:10 +0100
commit8b3589dd394d81177bf4680dddb5bdb9506b89ea (patch)
treef9e4b92955fe2577ef25e7bf07911bda3b5d7590 /module/plugins/hoster/Keep2shareCC.py
parent[SimpleHoster] Improve wait method (diff)
downloadpyload-8b3589dd394d81177bf4680dddb5bdb9506b89ea.tar.xz
Update plugins to last changes
Diffstat (limited to 'module/plugins/hoster/Keep2shareCC.py')
-rw-r--r--module/plugins/hoster/Keep2shareCC.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Keep2shareCC.py b/module/plugins/hoster/Keep2shareCC.py
index bd7825d08..36b5bfad3 100644
--- a/module/plugins/hoster/Keep2shareCC.py
+++ b/module/plugins/hoster/Keep2shareCC.py
@@ -54,14 +54,14 @@ class Keep2shareCC(SimpleHoster):
# string to time convert courtesy of https://stackoverflow.com/questions/10663720
ftr = [3600, 60, 1]
wait_time = sum([a * b for a, b in zip(ftr, map(int, m.group(1).split(':')))])
- self.wait(wait_time, reconnect=True)
+ self.wait(wait_time, True)
self.retry()
m = re.search(self.MULTIDL_ERROR, self.html)
if m:
# if someone is already downloading on our line, wait 30min and retry
self.logDebug("Already downloading, waiting for 30 minutes")
- self.wait(30 * 60, reconnect=True)
+ self.wait(30 * 60, True)
self.retry()
m = re.search(self.LINK_PATTERN, self.html)