summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/accounts/XFileSharingPro.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/accounts/XFileSharingPro.py b/module/plugins/accounts/XFileSharingPro.py
index 16d1ccfda..c6baad4f8 100644
--- a/module/plugins/accounts/XFileSharingPro.py
+++ b/module/plugins/accounts/XFileSharingPro.py
@@ -1,14 +1,12 @@
# -*- coding: utf-8 -*-
-import re
-
from module.plugins.internal.XFSPAccount import XFSPAccount
class XFileSharingPro(XFSPAccount):
__name__ = "XFileSharingPro"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """XFileSharingPro multi-purpose account plugin"""
__license__ = "GPLv3"
@@ -18,6 +16,11 @@ class XFileSharingPro(XFSPAccount):
HOSTER_NAME = None
+ def init(self):
+ if self.HOSTER_NAME:
+ return super(XFileSharingPro, self).init()
+
+
def loadAccountInfo(self, user, req):
return super(XFileSharingPro if self.HOSTER_NAME else XFSPAccount, self).loadAccountInfo(user, req)