diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-30 17:11:58 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-30 17:23:34 +0100 |
commit | fc8a6509755418a40e67220d378ed90b4e335390 (patch) | |
tree | 55231202f643f7d29ff893501abb26573e660724 /module/plugins/Account.py | |
parent | [XFSPAccount] Fix and improve loadAccountInfo (diff) | |
download | pyload-fc8a6509755418a40e67220d378ed90b4e335390.tar.xz |
[Account] Revert parseFileSize
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r-- | module/plugins/Account.py | 4 |
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): |