summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 13:03:24 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-04 13:03:24 +0100
commite8d1f1e6083dd7caa30dce97eeb5c6005c9f79f9 (patch)
treef6b26f55b34792f268b66e4e5ff726f33a8d3176 /module/plugins/internal
parent[XFSHoster] Improved MultiHoster check and download limit detection (diff)
downloadpyload-e8d1f1e6083dd7caa30dce97eeb5c6005c9f79f9.tar.xz
[OneFichierCom] Fixed account plugin
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSAccount.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py
index aa8a8ace1..6a3b3605e 100644
--- a/module/plugins/internal/XFSAccount.py
+++ b/module/plugins/internal/XFSAccount.py
@@ -56,12 +56,12 @@ class XFSAccount(Account):
def loadAccountInfo(self, user, req):
- html = req.load(self.HOSTER_URL, get={'op': "my_account"}, decode=True)
-
validuntil = None
trafficleft = None
premium = None
+ html = req.load(self.HOSTER_URL, get={'op': "my_account"}, decode=True)
+
if hasattr(self, "PREMIUM_PATTERN"):
premium = True if re.search(self.PREMIUM_PATTERN, html) else False