summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/Keep2shareCc.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/Keep2shareCc.py')
-rw-r--r--module/plugins/accounts/Keep2shareCc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/Keep2shareCc.py b/module/plugins/accounts/Keep2shareCc.py
index 22682e247..de9b9b5d8 100644
--- a/module/plugins/accounts/Keep2shareCc.py
+++ b/module/plugins/accounts/Keep2shareCc.py
@@ -39,7 +39,7 @@ class Keep2shareCc(Account):
validuntil = mktime(strptime(expiredate, "%Y.%m.%d"))
except Exception, e:
- self.logError(str(e))
+ self.logError(e)
else:
if validuntil > mktime(gmtime()):
@@ -54,7 +54,7 @@ class Keep2shareCc(Account):
trafficleft = self.parseTraffic(m.group(1))
except Exception, e:
- self.logError(str(e))
+ self.logError(e)
return {'validuntil': validuntil, 'trafficleft': trafficleft, 'premium': premium}