diff options
author | fragonib <devnull@localhost> | 2011-05-17 21:58:24 +0200 |
---|---|---|
committer | fragonib <devnull@localhost> | 2011-05-17 21:58:24 +0200 |
commit | 52de45a97f63efb1b5e3843ed3602bc04b058dd0 (patch) | |
tree | b7d116a1cb6d664614ae16c7e7df9bc504ee72d0 /module/plugins/hoster/MegauploadCom.py | |
parent | convert sizes to ints (diff) | |
download | pyload-52de45a97f63efb1b5e3843ed3602bc04b058dd0.tar.xz |
Fixes commit 1478
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-rw-r--r-- | module/plugins/hoster/MegauploadCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py index 4ab476d1e..7e9bf589f 100644 --- a/module/plugins/hoster/MegauploadCom.py +++ b/module/plugins/hoster/MegauploadCom.py @@ -50,7 +50,7 @@ def _translateAPIFileInfo(apiFileId, apiFileDataMap, apiHosterMap): try: fileInfo['status'] = MegauploadCom.API_STATUS_MAPPING[apiFileDataMap[apiFileId]] fileInfo['name'] = apiFileDataMap['n'] - fileInfo['size'] = apiFileDataMap['s'] + fileInfo['size'] = int(apiFileDataMap['s']) fileInfo['hoster'] = apiHosterMap[apiFileDataMap['d']] except: pass |