summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/ShareonlineBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/ShareonlineBiz.py')
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index c08d6f963..fea278559 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/ShareonlineBiz.py
@@ -49,7 +49,7 @@ class ShareonlineBiz(Account):
validuntil = float(api['expire_date'])
if 'traffic_1d' in api:
- traffic = int(api['traffic_1d'].split(";")[0])
+ traffic = float(api['traffic_1d'].split(";")[0])
maxtraffic = max(maxtraffic, traffic)
trafficleft = maxtraffic - traffic