diff options
author | 2014-04-11 12:17:03 +0200 | |
---|---|---|
committer | 2014-04-11 12:17:03 +0200 | |
commit | 381c4d02a900fac224ccaa802db080cf577ed2fb (patch) | |
tree | 7ae70daa2def01e05193d2bbef3a851aa33eeae1 /module/plugins/hoster/ShareonlineBiz.py | |
parent | Fix EOF (diff) | |
download | pyload-381c4d02a900fac224ccaa802db080cf577ed2fb.tar.xz |
Fix retry time formats
Merges vuolter/pyload@498b9e3
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 066919fda..b31225a59 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -73,9 +73,9 @@ class ShareonlineBiz(Hoster): # check = self.checkDownload({"failure": re.compile(self.ERROR_INFO_PATTERN)}) # if check == "failure": # try: - # self.retry(reason = self.lastCheck.group(1).decode("utf8")) + # self.retry(reason=self.lastCheck.group(1).decode("utf8")) # except: - # self.retry(reason = "Unknown error") + # self.retry(reason="Unknown error") if self.api_data: self.check_data = {"size": int(self.api_data['size']), "md5": self.api_data['md5']} @@ -138,7 +138,7 @@ class ShareonlineBiz(Hoster): if check == "cookie": self.retry(5, 60, "Cookie failure") elif check == "fail": - self.retry(5, 300, "Download failed") + self.retry(5, 5 * 60, "Download failed") def handlePremium(self): # should be working better loading (account) api internally self.account.getAccountInfo(self.user, True) |