summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py5
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}