summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FreakshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FreakshareCom.py')
-rw-r--r--module/plugins/accounts/FreakshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/FreakshareCom.py b/module/plugins/accounts/FreakshareCom.py
index 904c3ba3e..86f2b5a3e 100644
--- a/module/plugins/accounts/FreakshareCom.py
+++ b/module/plugins/accounts/FreakshareCom.py
@@ -19,12 +19,12 @@ class FreakshareCom(Account):
def loadAccountInfo(self, user, req):
page = req.load("http://freakshare.com/")
- validuntil = r"ltig bis:</td>\s*<td><b>([\d.:-]+)</b></td>"
+ validuntil = r'ltig bis:</td>\s*<td><b>([\d.:-]+)</b></td>'
validuntil = re.search(validuntil, page, re.MULTILINE)
validuntil = validuntil.group(1).strip()
validuntil = mktime(strptime(validuntil, "%d.%m.%Y - %H:%M"))
- traffic = r"Traffic verbleibend:</td>\s*<td>([^<]+)"
+ traffic = r'Traffic verbleibend:</td>\s*<td>([^<]+)'
traffic = re.search(traffic, page, re.MULTILINE)
traffic = traffic.group(1).strip()
traffic = self.parseTraffic(traffic)