diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-27 23:37:03 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-27 23:37:03 +0100 |
commit | cef160bb1a77a7a30aa9dde0d8c708e769bc0533 (patch) | |
tree | 6784f7c38362b9133893d522bd724223e6ce86f1 /module | |
parent | [MegaCoNzFolder] Increase loading timeout (diff) | |
download | pyload-cef160bb1a77a7a30aa9dde0d8c708e769bc0533.tar.xz |
[ShareonlineBiz] Account fixup (2)
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index 3f737896e..57fe52385 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -8,7 +8,7 @@ from module.plugins.Account import Account class ShareonlineBiz(Account): __name__ = "ShareonlineBiz" __type__ = "account" - __version__ = "0.28" + __version__ = "0.29" __description__ = """Share-online.biz account plugin""" __license__ = "GPLv3" @@ -45,6 +45,9 @@ class ShareonlineBiz(Account): maxtraffic = max(maxtraffic, traffic) trafficleft = maxtraffic - traffic + maxtraffic /= 1024 #@TODO: Remove `/ 1024` in 0.4.10 + trafficleft /= 1024 #@TODO: Remove `/ 1024` in 0.4.10 + return {'premium': premium, 'validuntil': validuntil, 'trafficleft': trafficleft, 'maxtraffic': maxtraffic} |