summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/EasybytezCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:15:58 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:15:58 +0200
commit29de13dc5098cc9214f3f8f111da140a22e3e2ff (patch)
treeddf95710cbc7ee67da3457b38a1e7937fda4ef21 /module/plugins/accounts/EasybytezCom.py
parentFix error method (diff)
downloadpyload-29de13dc5098cc9214f3f8f111da140a22e3e2ff.tar.xz
Use parseTraffic instead parseFileSize in accounts
Diffstat (limited to 'module/plugins/accounts/EasybytezCom.py')
-rw-r--r--module/plugins/accounts/EasybytezCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/EasybytezCom.py b/module/plugins/accounts/EasybytezCom.py
index f88e9ed4c..74602b696 100644
--- a/module/plugins/accounts/EasybytezCom.py
+++ b/module/plugins/accounts/EasybytezCom.py
@@ -5,13 +5,12 @@ import re
from time import mktime, strptime, gmtime
from module.plugins.internal.XFSPAccount import XFSPAccount
-from module.utils import parseFileSize
class EasybytezCom(XFSPAccount):
__name__ = "EasybytezCom"
__type__ = "account"
- __version__ = "0.07"
+ __version__ = "0.08"
__description__ = """EasyBytez.com account plugin"""
__license__ = "GPLv3"
@@ -52,6 +51,6 @@ class EasybytezCom(XFSPAccount):
if "Unlimited" in trafficleft:
trafficleft = -1
else:
- trafficleft = parseFileSize(trafficleft)
+ trafficleft = self.parseTraffic(trafficleft)
return {"validuntil": validuntil, "trafficleft": trafficleft, "premium": premium}