diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 16:02:29 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 16:02:29 +0100 |
commit | fb65d5354c3cc80c3f48c3a2745b8dc01105edfd (patch) | |
tree | 822240f20e27f2d5edc3e10624fc622e7c26cdc6 /module/plugins/accounts/RapidgatorNet.py | |
parent | [UploadedTo] Fix trafficleft recognition (diff) | |
download | pyload-fb65d5354c3cc80c3f48c3a2745b8dc01105edfd.tar.xz |
Update account plugins
Diffstat (limited to 'module/plugins/accounts/RapidgatorNet.py')
-rw-r--r-- | module/plugins/accounts/RapidgatorNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py index 9a0edbfa4..2899d5a68 100644 --- a/module/plugins/accounts/RapidgatorNet.py +++ b/module/plugins/accounts/RapidgatorNet.py @@ -7,7 +7,7 @@ from module.common.json_layer import json_loads class RapidgatorNet(Account): __name__ = "RapidgatorNet" __type__ = "account" - __version__ = "0.04" + __version__ = "0.05" __description__ = """Rapidgator.net account plugin""" __license__ = "GPLv3" @@ -31,7 +31,7 @@ class RapidgatorNet(Account): self.scheduleRefresh(user, json['response']['reset_in']) return {"validuntil": json['response']['expire_date'], - "trafficleft": int(json['response']['traffic_left']), + "trafficleft": float(json['response']['traffic_left']) / 1024, #@TODO: Remove `/ 1024` in 0.4.10 "premium": True} else: self.logError(json['response_details']) |