summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/NoPremiumPl.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 17:01:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 17:01:39 +0200
commit84169f4862fa257e0a8a47e5f3578e9ec97ccf4f (patch)
treedd18f97f02637f667b803796f2b456836204a5d5 /pyload/plugin/account/NoPremiumPl.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-84169f4862fa257e0a8a47e5f3578e9ec97ccf4f.tar.xz
Plugins cleanup
Diffstat (limited to 'pyload/plugin/account/NoPremiumPl.py')
-rw-r--r--pyload/plugin/account/NoPremiumPl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/NoPremiumPl.py b/pyload/plugin/account/NoPremiumPl.py
index ac0e64cd4..d825b38ed 100644
--- a/pyload/plugin/account/NoPremiumPl.py
+++ b/pyload/plugin/account/NoPremiumPl.py
@@ -46,7 +46,7 @@ class NoPremiumPl(Account):
if "expire" in result.keys() and result["expire"]:
premium = True
valid_untill = time.mktime(datetime.datetime.fromtimestamp(int(result["expire"])).timetuple())
- traffic_left = result["balance"] * 1024
+ traffic_left = result["balance"] * 2 ** 20
return ({
"validuntil": valid_untill,