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/accounts/QuickshareCz.py | |
parent | Fix error method (diff) | |
download | pyload-29de13dc5098cc9214f3f8f111da140a22e3e2ff.tar.xz |
Use parseTraffic instead parseFileSize in accounts
Diffstat (limited to 'module/plugins/accounts/QuickshareCz.py')
-rw-r--r-- | module/plugins/accounts/QuickshareCz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/QuickshareCz.py b/module/plugins/accounts/QuickshareCz.py index e83f7308d..adb54c7d0 100644 --- a/module/plugins/accounts/QuickshareCz.py +++ b/module/plugins/accounts/QuickshareCz.py @@ -1,14 +1,14 @@ # -*- coding: utf-8 -*- import re + from module.plugins.Account import Account -from module.utils import parseFileSize class QuickshareCz(Account): __name__ = "QuickshareCz" __type__ = "account" - __version__ = "0.01" + __version__ = "0.02" __description__ = """Quickshare.cz account plugin""" __license__ = "GPLv3" @@ -20,7 +20,7 @@ class QuickshareCz(Account): m = re.search(r'Stav kreditu: <strong>(.+?)</strong>', html) if m: - trafficleft = parseFileSize(m.group(1)) + trafficleft = self.parseTraffic(m.group(1)) premium = True if trafficleft else False else: trafficleft = None |