diff options
author | saumsaum <matthias.sauppe@gmx.de> | 2016-03-02 15:44:57 +0100 |
---|---|---|
committer | saumsaum <matthias.sauppe@gmx.de> | 2016-03-02 15:44:57 +0100 |
commit | b424a187df8aaa43e458a88b3703729523b5de74 (patch) | |
tree | 2295c6877e9411395dc3b2d96925476fa90f31bb /module | |
parent | [ReCaptcha] Code cosmetics (diff) | |
download | pyload-b424a187df8aaa43e458a88b3703729523b5de74.tar.xz |
Shareonline.Biz: Fail on full instead of wait
Up to now, if a file cannot be downloaded because of "Server is full", it waits 10 minutes a couple of times. And while waiting, nothing else gets downloaded from Shareonline.biz. After a couple of retries, the download will fail anyway. The "server is full" message usually stays for around one day on a file, but it doesn't necessarily affect other files on same hoster.
Proposed solution: Do not wait on "server is full" but fail instead. Then, other files on ShareOnline.biz will continue downloading.
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 270759d2d..e99891bbb 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -172,7 +172,7 @@ class ShareonlineBiz(SimpleHoster): self.retry(wait=600, msg=errmsg) elif errmsg == "full": - self.retry(10, 600, _("Server is full")) + self.fail(_("Server is full")) elif 'slot' in errmsg: self.wait(3600, reconnect=True) |