summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/crypter/XFileSharingFolder.py4
-rw-r--r--module/plugins/hoster/XFileSharing.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/XFileSharingFolder.py b/module/plugins/crypter/XFileSharingFolder.py
index 26ba286c0..1114a7e2d 100644
--- a/module/plugins/crypter/XFileSharingFolder.py
+++ b/module/plugins/crypter/XFileSharingFolder.py
@@ -36,6 +36,8 @@ class XFileSharingFolder(XFSCrypter):
#@TODO: Recheck in 0.4.10
def setup_base(self):
+ super(XFileSharingFolder, self).setup_base()
+
if self.account:
self.req = self.pyload.requestFactory.getRequest(self.PLUGIN_NAME, self.account.user)
self.premium = self.account.info['data']['premium'] #@NOTE: Don't call get_info here to reduce overhead
@@ -43,8 +45,6 @@ class XFileSharingFolder(XFSCrypter):
self.req = self.pyload.requestFactory.getRequest(self.classname)
self.premium = False
- super(XFileSharingFolder, self).setup_base()
-
#@TODO: Recheck in 0.4.10
def load_account(self):
diff --git a/module/plugins/hoster/XFileSharing.py b/module/plugins/hoster/XFileSharing.py
index d225e73a2..f23d39299 100644
--- a/module/plugins/hoster/XFileSharing.py
+++ b/module/plugins/hoster/XFileSharing.py
@@ -46,6 +46,8 @@ class XFileSharing(XFSHoster):
#@TODO: Recheck in 0.4.10
def setup_base(self):
+ super(XFileSharing, self).setup_base()
+
if self.account:
self.req = self.pyload.requestFactory.getRequest(self.PLUGIN_NAME, self.account.user)
self.premium = self.account.info['data']['premium'] #@NOTE: Don't call get_info here to reduce overhead
@@ -53,8 +55,6 @@ class XFileSharing(XFSHoster):
self.req = self.pyload.requestFactory.getRequest(self.classname)
self.premium = False
- super(XFileSharing, self).setup_base()
-
#@TODO: Recheck in 0.4.10
def load_account(self):