diff options
Diffstat (limited to 'module/plugins/accounts/XFileSharingPro.py')
-rw-r--r-- | module/plugins/accounts/XFileSharingPro.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/accounts/XFileSharingPro.py b/module/plugins/accounts/XFileSharingPro.py index c6baad4f8..fb77ab23f 100644 --- a/module/plugins/accounts/XFileSharingPro.py +++ b/module/plugins/accounts/XFileSharingPro.py @@ -1,30 +1,30 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.XFSPAccount import XFSPAccount +from module.plugins.internal.XFSAccount import XFSAccount -class XFileSharingPro(XFSPAccount): +class XFileSharingPro(XFSAccount): __name__ = "XFileSharingPro" __type__ = "account" - __version__ = "0.04" + __version__ = "0.05" __description__ = """XFileSharingPro multi-purpose account plugin""" __license__ = "GPLv3" __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - HOSTER_NAME = None + HOSTER_DOMAIN = None def init(self): - if self.HOSTER_NAME: + if self.HOSTER_DOMAIN: return super(XFileSharingPro, self).init() def loadAccountInfo(self, user, req): - return super(XFileSharingPro if self.HOSTER_NAME else XFSPAccount, self).loadAccountInfo(user, req) + return super(XFileSharingPro if self.HOSTER_DOMAIN else XFSAccount, self).loadAccountInfo(user, req) def login(self, user, data, req): - if self.HOSTER_NAME: + if self.HOSTER_DOMAIN: return super(XFileSharingPro, self).login(user, data, req) |