summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-30 17:11:58 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-30 17:23:34 +0100
commitfc8a6509755418a40e67220d378ed90b4e335390 (patch)
tree55231202f643f7d29ff893501abb26573e660724 /module
parent[XFSPAccount] Fix and improve loadAccountInfo (diff)
downloadpyload-fc8a6509755418a40e67220d378ed90b4e335390.tar.xz
[Account] Revert parseFileSize
Diffstat (limited to 'module')
-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):