From 822fc8edc732248e5e79bf5a0ef9555bcc56b21c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 22 Oct 2014 23:08:05 +0200 Subject: [XFSPAccount] Better HOSTER_URL --- module/plugins/internal/XFSPAccount.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal') 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): -- cgit v1.2.3