diff options
author | 2015-08-19 02:38:11 +0200 | |
---|---|---|
committer | 2015-08-19 02:38:11 +0200 | |
commit | 52dafac35c3cbfd110746b981afd80da1632a373 (patch) | |
tree | 09e17d3d6ea93d9cd0bd175dce7e3f3bb8b8be6a /module/plugins/internal | |
parent | Temp fix https://github.com/pyload/pyload/pull/1708 (diff) | |
download | pyload-52dafac35c3cbfd110746b981afd80da1632a373.tar.xz |
Spare plugin updates
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/XFSAccount.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py index e0f6b1ee8..5a4cc35fb 100644 --- a/module/plugins/internal/XFSAccount.py +++ b/module/plugins/internal/XFSAccount.py @@ -11,7 +11,7 @@ from module.plugins.internal.Plugin import parse_html_form, set_cookie class XFSAccount(Account): __name__ = "XFSAccount" __type__ = "account" - __version__ = "0.42" + __version__ = "0.43" __status__ = "testing" __description__ = """XFileSharing account plugin""" @@ -151,6 +151,8 @@ class XFSAccount(Account): if not self.HOSTER_URL: self.login_fail(_("Missing HOSTER_URL")) + else: + self.HOSTER_URL = self.HOSTER_URL.rstrip('/') + "/" if not self.LOGIN_URL: self.LOGIN_URL = urlparse.urljoin(self.HOSTER_URL, "login.html") |