diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 15:30:33 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 15:30:33 +0100 |
commit | 0fd436d7d647d7c26b8b43e1ec09b7c7819e2df7 (patch) | |
tree | a4aac01a6c16de526a01464fed6e6195b63f54e6 /module/plugins/accounts/FileserveCom.py | |
parent | closed #213, #212, #101 (diff) | |
download | pyload-0fd436d7d647d7c26b8b43e1ec09b7c7819e2df7.tar.xz |
Diffstat (limited to 'module/plugins/accounts/FileserveCom.py')
-rw-r--r-- | module/plugins/accounts/FileserveCom.py | 4 |
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): |