summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar guidobelix <guidobelix@hotmail.it> 2014-10-22 21:41:11 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 21:41:11 +0200
commite41f3d7f9bac5c5923d5e3e4ae4b373f6c90dc16 (patch)
tree075d68e4d13a1cb6dea058a48d97e34f71d44f6a /module/plugins/internal
parent[CaptchaService] Update ReCaptcha KEY_PATTERN (diff)
downloadpyload-e41f3d7f9bac5c5923d5e3e4ae4b373f6c90dc16.tar.xz
Broken TRAFFIC_LEFT_PATTERN in RapidfileshareNet and TusfilesNet account
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSPAccount.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/module/plugins/internal/XFSPAccount.py b/module/plugins/internal/XFSPAccount.py
index c2d779c29..d420adbb6 100644
--- a/module/plugins/internal/XFSPAccount.py
+++ b/module/plugins/internal/XFSPAccount.py
@@ -98,10 +98,7 @@ class XFSPAccount(Account):
except:
pass
- if premium is None:
- premium = False
-
- return {'validuntil': validuntil, 'trafficleft': trafficleft, 'premium': premium}
+ return {'validuntil': validuntil, 'trafficleft': trafficleft, 'premium': premium or False}
def login(self, user, data, req):