summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-30 17:12:50 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-30 17:23:36 +0100
commitbdb8d48e0030474a616ec2e7e6d5f19132bb18e7 (patch)
tree8dc9e94761368890cf39cccb661e84ccbf373855 /module/plugins/accounts
parent[Account] Revert parseFileSize (diff)
downloadpyload-bdb8d48e0030474a616ec2e7e6d5f19132bb18e7.tar.xz
[XFileSharingPro] Fix account init
Diffstat (limited to 'module/plugins/accounts')
-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)