diff options
author | Pedro Algarvio <pedro@algarvio.me> | 2012-02-05 12:04:14 +0100 |
---|---|---|
committer | Pedro Algarvio <pedro@algarvio.me> | 2012-02-05 12:04:14 +0100 |
commit | c318d10d2b85160f892eb0ddfdbe295fa0d46aa4 (patch) | |
tree | 8fa7a9b99d1a85b4404a94c5099a4436ecbceabe /module/plugins/hoster/RealdebridCom.py | |
parent | Fix missing error message. (diff) | |
download | pyload-c318d10d2b85160f892eb0ddfdbe295fa0d46aa4.tar.xz |
Treat most errors as tempfailures, this will solve the missing errors.
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index d1f87f3dd..46ac51c82 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -56,14 +56,9 @@ class RealdebridCom(Hoster): if data["error"] != 0:
if data["message"] == "Your file is unavailable on the hoster.":
self.offline()
- elif data["message"] == "File's hoster is in maintenance. Try again later.":
- self.logWarning(data["message"])
- self.tempOffline()
- elif data["message"] == "No server is available for this hoster.":
+ else:
self.logWarning(data["message"])
self.tempOffline()
- else:
- self.logError(page)
else:
self.pyfile.name = data["file_name"]
self.pyfile.size = parseFileSize(data["file_size"])
|