diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-04 16:26:06 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-04 16:26:06 +0100 |
commit | 19ee43903cb9e38e800df32a4973d2134adbf713 (patch) | |
tree | 5429e67ce7920d3d5c90c3ca2f78444193b9989d | |
parent | Go4Up -> Go4UpCom (diff) | |
parent | [premiumTo] Traffic fix (Tib vs. Gib) (diff) | |
download | pyload-19ee43903cb9e38e800df32a4973d2134adbf713.tar.xz |
Merge pull request #946 from AndroKev/premiumTo
[premiumTo] Traffic fix (Tib vs. Gib)
-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): |