summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/internal/XFSAccount.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/internal/XFSAccount.py')
-rw-r--r--pyload/plugin/internal/XFSAccount.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/internal/XFSAccount.py b/pyload/plugin/internal/XFSAccount.py
index d8c5a91f1..105df3cd5 100644
--- a/pyload/plugin/internal/XFSAccount.py
+++ b/pyload/plugin/internal/XFSAccount.py
@@ -2,8 +2,7 @@
import re
import time
-
-from urlparse import urljoin
+import urlparse
from pyload.plugin.Account import Account
from pyload.plugin.internal.SimpleHoster import parseHtmlForm, set_cookies
@@ -155,7 +154,7 @@ class XFSAccount(Account):
raise Exception(_("Missing HOSTER_DOMAIN"))
if not self.LOGIN_URL:
- self.LOGIN_URL = urljoin(self.HOSTER_URL, "login.html")
+ self.LOGIN_URL = urlparse.urljoin(self.HOSTER_URL, "login.html")
html = req.load(self.LOGIN_URL, decode=True)
action, inputs = parseHtmlForm('name="FL"', html)