summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Account.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index d30f6920c..704299827 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -242,6 +242,8 @@ class Account(Base, AccountInfo):
return parseFileSize(string) / 1024
def formatTrafficleft(self):
+ if self.trafficleft is None:
+ self.getAccountInfo(force=True)
return formatSize(self.trafficleft*1024)
def wrongPassword(self):