summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/QuickshareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/QuickshareCz.py')
-rw-r--r--module/plugins/accounts/QuickshareCz.py6
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