diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 17:01:39 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 17:01:39 +0200 |
commit | 84169f4862fa257e0a8a47e5f3578e9ec97ccf4f (patch) | |
tree | dd18f97f02637f667b803796f2b456836204a5d5 /pyload/plugin/account/PremiumTo.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-84169f4862fa257e0a8a47e5f3578e9ec97ccf4f.tar.xz |
Plugins cleanup
Diffstat (limited to 'pyload/plugin/account/PremiumTo.py')
-rw-r--r-- | pyload/plugin/account/PremiumTo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/PremiumTo.py b/pyload/plugin/account/PremiumTo.py index fcd856ea7..586ddf635 100644 --- a/pyload/plugin/account/PremiumTo.py +++ b/pyload/plugin/account/PremiumTo.py @@ -20,7 +20,7 @@ class PremiumTo(Account): get={'username': self.username, 'password': self.password}) if "wrong username" not in traffic: - trafficleft = sum(map(float, traffic.split(';'))) / 1024 #@TODO: Remove `/ 1024` in 0.4.10 + trafficleft = sum(map(float, traffic.split(';'))) return {'premium': True, 'trafficleft': trafficleft, 'validuntil': -1} else: return {'premium': False, 'trafficleft': None, 'validuntil': None} |