diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-02 16:11:23 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-02 16:11:23 +0100 |
commit | 594c8d72fbeda4a08ed67b71a4cfc55b11108db4 (patch) | |
tree | c6b959f9e07419820b1a1801fb9d8baa3bb33093 /module/plugins | |
parent | Fix XdadevelopersCom.py (diff) | |
download | pyload-594c8d72fbeda4a08ed67b71a4cfc55b11108db4.tar.xz |
[RapidgatorNet] Fix https://github.com/pyload/pyload/issues/1118
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/accounts/RapidgatorNet.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py index 45a80947a..23d7aff53 100644 --- a/module/plugins/accounts/RapidgatorNet.py +++ b/module/plugins/accounts/RapidgatorNet.py @@ -7,14 +7,14 @@ from module.common.json_layer import json_loads class RapidgatorNet(Account): __name__ = "RapidgatorNet" __type__ = "account" - __version__ = "0.08" + __version__ = "0.09" __description__ = """Rapidgator.net account plugin""" __license__ = "GPLv3" __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] - API_URL = 'http://rapidgator.net/api/user' + API_URL = "http://rapidgator.net/api/user" def loadAccountInfo(self, user, req): @@ -37,8 +37,8 @@ class RapidgatorNet(Account): if "reset_in" in json['response']: self.scheduleRefresh(user, json['response']['reset_in']) - validuntil = json['response']['expire_date'], - trafficleft = float(json['response']['traffic_left']) / 1024, #@TODO: Remove `/ 1024` in 0.4.10 + validuntil = json['response']['expire_date'] + trafficleft = float(json['response']['traffic_left']) / 1024 #@TODO: Remove `/ 1024` in 0.4.10 premium = True else: self.logError(json['response_details']) |