summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSAccount.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 18:49:39 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 18:49:39 +0100
commitcc833c564e01971b0a915c2f5343ad683c65b825 (patch)
tree9f7908d99c90d38a43d66aa70e06b70b8b848d6f /module/plugins/internal/XFSAccount.py
parent[PremiumizeMe] Fix typo (diff)
downloadpyload-cc833c564e01971b0a915c2f5343ad683c65b825.tar.xz
[LinestorageCom] Fix account plugin
Diffstat (limited to 'module/plugins/internal/XFSAccount.py')
-rw-r--r--module/plugins/internal/XFSAccount.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py
index 2094b1480..2784ecd0b 100644
--- a/module/plugins/internal/XFSAccount.py
+++ b/module/plugins/internal/XFSAccount.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import parseHtmlForm, set_cookies
class XFSAccount(Account):
__name__ = "XFSAccount"
__type__ = "account"
- __version__ = "0.32"
+ __version__ = "0.33"
__description__ = """XFileSharing account plugin"""
__license__ = "GPLv3"
@@ -44,11 +44,11 @@ class XFSAccount(Account):
def init(self):
- # if not self.HOSTER_DOMAIN:
- # self.fail(_("Missing HOSTER_DOMAIN"))
+ if not self.HOSTER_DOMAIN:
+ self.logError(_("Missing HOSTER_DOMAIN"))
if not self.HOSTER_URL:
- self.HOSTER_URL = "http://www.%s/" % self.HOSTER_DOMAIN
+ self.HOSTER_URL = "http://www.%s/" % self.HOSTER_DOMAIN or ""
def loadAccountInfo(self, user, req):