diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 01:15:58 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 01:15:58 +0200 |
commit | 29de13dc5098cc9214f3f8f111da140a22e3e2ff (patch) | |
tree | ddf95710cbc7ee67da3457b38a1e7937fda4ef21 /module/plugins/internal/XFSPAccount.py | |
parent | Fix error method (diff) | |
download | pyload-29de13dc5098cc9214f3f8f111da140a22e3e2ff.tar.xz |
Use parseTraffic instead parseFileSize in accounts
Diffstat (limited to 'module/plugins/internal/XFSPAccount.py')
-rw-r--r-- | module/plugins/internal/XFSPAccount.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/XFSPAccount.py b/module/plugins/internal/XFSPAccount.py index 5e2a0afc4..e54fda987 100644 --- a/module/plugins/internal/XFSPAccount.py +++ b/module/plugins/internal/XFSPAccount.py @@ -7,13 +7,12 @@ from time import mktime, strptime from module.plugins.Account import Account from module.plugins.internal.SimpleHoster import parseHtmlForm, set_cookies -from module.utils import parseFileSize class XFSPAccount(Account): __name__ = "XFSPAccount" __type__ = "account" - __version__ = "0.15" + __version__ = "0.16" __description__ = """XFileSharingPro account plugin""" __license__ = "GPLv3" @@ -94,7 +93,7 @@ class XFSPAccount(Account): unit = self.TRAFFIC_LEFT_UNIT else: unit = None - trafficleft = parseFileSize(traffic['S'], unit) + trafficleft = self.parseTraffic(traffic['S'], unit) except: pass |