diff options
author | Paul King <devnull@localhost> | 2011-06-04 11:11:20 +0200 |
---|---|---|
committer | Paul King <devnull@localhost> | 2011-06-04 11:11:20 +0200 |
commit | 8caf0243700d917f3ca1bb00707a1aeeeee96bab (patch) | |
tree | 0c84d7227795cc5bd76182319c57ed6c851dbd14 /module/plugins | |
parent | wupload fix (diff) | |
download | pyload-8caf0243700d917f3ca1bb00707a1aeeeee96bab.tar.xz |
fix #322
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/FilesonicCom.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/WuploadCom.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilesonicCom.py b/module/plugins/hoster/FilesonicCom.py index ba6c4c963..dfc332e01 100644 --- a/module/plugins/hoster/FilesonicCom.py +++ b/module/plugins/hoster/FilesonicCom.py @@ -31,7 +31,7 @@ def getInfo(urls): response = json_loads(getURL(check_url, decode=True))
for item in response["FSApi_Link"]["getInfo"]["response"]["links"]:
if item["status"] != "AVAILABLE":
- result.append((None, 0, 1, ids[item["id"]]))
+ result.append((None, 0, 1, ids[str(item["id"])]))
else:
result.append((item["filename"], item["size"], 2, ids[str(item["id"])]))
yield result
diff --git a/module/plugins/hoster/WuploadCom.py b/module/plugins/hoster/WuploadCom.py index e19ca1cd3..93b45fbfe 100644 --- a/module/plugins/hoster/WuploadCom.py +++ b/module/plugins/hoster/WuploadCom.py @@ -32,7 +32,7 @@ def getInfo(urls): response = json_loads(getURL(check_url).decode("utf8", "ignore")) for item in response["FSApi_Link"]["getInfo"]["response"]["links"]: if item["status"] != "AVAILABLE": - result.append((None, 0, 1, ids[item["id"]])) + result.append((None, 0, 1, ids[str(item["id"])])) else: result.append((item["filename"], item["size"], 2, ids[str(item["id"])])) yield result |