summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreakshareCom.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/FreakshareCom.py
parent[SimpleHoster] Improve wait method (diff)
downloadpyload-8b3589dd394d81177bf4680dddb5bdb9506b89ea.tar.xz
Update plugins to last changes
Diffstat (limited to 'module/plugins/hoster/FreakshareCom.py')
-rw-r--r--module/plugins/hoster/FreakshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py
index 35c7aa253..5d69f0a1b 100644
--- a/module/plugins/hoster/FreakshareCom.py
+++ b/module/plugins/hoster/FreakshareCom.py
@@ -61,7 +61,7 @@ class FreakshareCom(Hoster):
self.invalidCaptcha()
self.retry()
elif check == "downloadserver":
- self.retry(5, 15 * 60, "No Download server")
+ self.retry(5, 15 * 60, _("No Download server"))
def prepare(self):
@@ -141,7 +141,7 @@ class FreakshareCom(Hoster):
timestring = re.search('\s*var\s(?:downloadWait|time)\s=\s(\d*)[\d.]*;', self.html)
if timestring:
- return int(timestring.group(1)) + 1 # add 1 sec as tenths of seconds are cut off
+ return int(timestring.group(1))
else:
return 60