summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/TurbobitNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/TurbobitNet.py')
-rw-r--r--module/plugins/accounts/TurbobitNet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/TurbobitNet.py b/module/plugins/accounts/TurbobitNet.py
index 2db1bfa14..065668815 100644
--- a/module/plugins/accounts/TurbobitNet.py
+++ b/module/plugins/accounts/TurbobitNet.py
@@ -19,7 +19,7 @@ class TurbobitNet(Account):
def loadAccountInfo(self, user, req):
html = req.load("http://turbobit.net")
- m = re.search(r'<u>Turbo Access</u> to ([0-9.]+)', html)
+ m = re.search(r'<u>Turbo Access</u> to ([\d.]+)', html)
if m:
premium = True
validuntil = mktime(strptime(m.group(1), "%d.%m.%Y"))