diff options
author | AndroKev <neureither.kevin@gmail.com> | 2014-12-04 10:56:11 +0100 |
---|---|---|
committer | AndroKev <neureither.kevin@gmail.com> | 2014-12-04 10:56:11 +0100 |
commit | 11142b661cbc11529f18cd02cef4b64cdd620977 (patch) | |
tree | 5429e67ce7920d3d5c90c3ca2f78444193b9989d /module/plugins/accounts | |
parent | Go4Up -> Go4UpCom (diff) | |
download | pyload-11142b661cbc11529f18cd02cef4b64cdd620977.tar.xz |
[premiumTo] Traffic fix (Tib vs. Gib)
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/PremiumTo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/PremiumTo.py b/module/plugins/accounts/PremiumTo.py index fed95d4ce..9acb5ad1c 100644 --- a/module/plugins/accounts/PremiumTo.py +++ b/module/plugins/accounts/PremiumTo.py @@ -20,7 +20,7 @@ class PremiumTo(Account): get={'username': self.username, 'password': self.password}) traffic = sum(map(int, api_r.split(';'))) - return {"trafficleft": int(traffic), "validuntil": -1} + return {"trafficleft": int(traffic) / 1024, "validuntil": -1} def login(self, user, data, req): |