summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/Account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 4fac3525f..d0736476d 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -195,7 +195,7 @@ class Account(Base):
"valid": self.accounts[name]['valid'],
"trafficleft": None, #: in kb, -1 for unlimited
"maxtraffic": None,
- "premium": False,
+ "premium": None,
"timestamp": 0, #: time this info was retrieved
"type": self.__name__}
@@ -263,7 +263,7 @@ class Account(Base):
def parseTraffic(self, string): #returns kbyte
- return parseFileSize(string, unit="kb")
+ return parseFileSize(string)
def wrongPassword(self):