summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSPAccount.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/XFSPAccount.py')
-rw-r--r--module/plugins/internal/XFSPAccount.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSPAccount.py b/module/plugins/internal/XFSPAccount.py
index 713bf827d..c2d779c29 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.13"
+ __version__ = "0.14"
__description__ = """XFileSharingPro account plugin"""
__license__ = "GPLv3"
@@ -43,6 +43,11 @@ class XFSPAccount(Account):
LOGIN_FAIL_PATTERN = r'>(Incorrect Login or Password|Error<)'
+ def __init__(self, manager, accounts): #@TODO: remove in 0.4.10
+ self.init()
+ return super(XFSPAccount, self).__init__(manager, accounts)
+
+
def init(self):
if not hasattr(self, "HOSTER_URL"):
self.HOSTER_URL = "http://%s/" % self.HOSTER_NAME