summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-07 21:42:49 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-07 21:42:49 +0100
commit41a07b7f2f64e76cd7df1fb78855c8c353df65b0 (patch)
treeb5c859d2102fc86fafcc5b0e054746922adab10b /module
parent[LinksnappyCom] Fix https://github.com/pyload/pyload/issues/1153 (diff)
downloadpyload-41a07b7f2f64e76cd7df1fb78855c8c353df65b0.tar.xz
[CzshareCom] Fix https://github.com/pyload/pyload/issues/1147
Diffstat (limited to 'module')
-rw-r--r--module/plugins/accounts/CzshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/CzshareCom.py b/module/plugins/accounts/CzshareCom.py
index f84bc67f3..640aa3eff 100644
--- a/module/plugins/accounts/CzshareCom.py
+++ b/module/plugins/accounts/CzshareCom.py
@@ -9,7 +9,7 @@ from module.plugins.Account import Account
class CzshareCom(Account):
__name__ = "CzshareCom"
__type__ = "account"
- __version__ = "0.16"
+ __version__ = "0.17"
__description__ = """Czshare.com account plugin, now Sdilej.cz"""
__license__ = "GPLv3"
@@ -27,7 +27,7 @@ class CzshareCom(Account):
if m is None:
return {"validuntil": 0, "trafficleft": 0}
else:
- trafficleft = self.parseTraffic(m.group(1).replace(' ', '').replace(',', '.')) + m.group(2)]
+ trafficleft = self.parseTraffic(m.group(1).replace(' ', '').replace(',', '.')) + m.group(2)
validuntil = mktime(strptime(m.group(3), '%d.%m.%y %H:%M'))
return {"validuntil": validuntil, "trafficleft": trafficleft}