summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar AndroKev <neureither.kevin@gmail.com> 2014-12-04 10:56:11 +0100
committerGravatar AndroKev <neureither.kevin@gmail.com> 2014-12-04 10:56:11 +0100
commit11142b661cbc11529f18cd02cef4b64cdd620977 (patch)
tree5429e67ce7920d3d5c90c3ca2f78444193b9989d /module/plugins/accounts
parentGo4Up -> Go4UpCom (diff)
downloadpyload-11142b661cbc11529f18cd02cef4b64cdd620977.tar.xz
[premiumTo] Traffic fix (Tib vs. Gib)
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/PremiumTo.py2
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):