summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 23:08:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 23:08:05 +0200
commit822fc8edc732248e5e79bf5a0ef9555bcc56b21c (patch)
tree7593add80d5cb87667340addda2b62bb8e7e6f0a /module/plugins/internal
parentNew hoster plugin FileSharkPl (diff)
downloadpyload-822fc8edc732248e5e79bf5a0ef9555bcc56b21c.tar.xz
[XFSPAccount] Better HOSTER_URL
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSPAccount.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/XFSPAccount.py b/module/plugins/internal/XFSPAccount.py
index d420adbb6..5e2a0afc4 100644
--- a/module/plugins/internal/XFSPAccount.py
+++ b/module/plugins/internal/XFSPAccount.py
@@ -13,7 +13,7 @@ from module.utils import parseFileSize
class XFSPAccount(Account):
__name__ = "XFSPAccount"
__type__ = "account"
- __version__ = "0.14"
+ __version__ = "0.15"
__description__ = """XFileSharingPro account plugin"""
__license__ = "GPLv3"
@@ -50,7 +50,7 @@ class XFSPAccount(Account):
def init(self):
if not hasattr(self, "HOSTER_URL"):
- self.HOSTER_URL = "http://%s/" % self.HOSTER_NAME
+ self.HOSTER_URL = "http://www.%s/" % self.HOSTER_NAME.replace("www.", "", 1)
def loadAccountInfo(self, user, req):