summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FileserveCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FileserveCom.py')
-rw-r--r--module/plugins/accounts/FileserveCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py
index 7754de253..752987c0d 100644
--- a/module/plugins/accounts/FileserveCom.py
+++ b/module/plugins/accounts/FileserveCom.py
@@ -38,8 +38,10 @@ class FileserveCom(Account):
zone = -5 if m.group(2) == "S" else -4
validuntil = int(mktime(strptime(m.group(1), "%d %B %Y"))) + 24*3600 + (zone*3600)
tmp = {"validuntil":validuntil, "trafficleft":-1}
+ elif 'Account Type</h4></td> <td><h5 class="inline">Free' in src:
+ tmp = {"premium": False, "trafficleft": None, "validuntil": None}
else:
- tmp = {"trafficleft":-1}
+ tmp = {"trafficleft": None}
return tmp
def login(self, user, data, req):