summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GamaC0de <nitzo2001@yahoo.com> 2016-07-10 08:38:19 +0200
committerGravatar GamaC0de <nitzo2001@yahoo.com> 2016-07-10 08:38:19 +0200
commitf0640e459b2b7df682b5bd1a2fadbde03d154029 (patch)
tree52354f188d7ad04499c765e8c288a9d07bad4b70
parent[TransmissionRPC] Version up (diff)
downloadpyload-f0640e459b2b7df682b5bd1a2fadbde03d154029.tar.xz
[ZbigzCom] Update
-rw-r--r--module/plugins/hoster/ZbigzCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/ZbigzCom.py b/module/plugins/hoster/ZbigzCom.py
index 28e3b9ec0..79a99cf5c 100644
--- a/module/plugins/hoster/ZbigzCom.py
+++ b/module/plugins/hoster/ZbigzCom.py
@@ -11,7 +11,7 @@ from module.plugins.internal.misc import json
class ZbigzCom(Hoster):
__name__ = "ZbigzCom"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__status__ = "testing"
__pattern__ = r'https?://.+\.torrent|magnet:\?.+'
@@ -118,6 +118,8 @@ class ZbigzCom(Hoster):
while True:
json_data = self.jquery_call(zip_status_url, file_id, call_id)
+ if json_data is None:
+ self.fail("Unexpected jQuery response")
if 'faultString' in json_data:
self.fail(json_data['faultString'])