summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 15:27:51 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 15:27:51 +0100
commit0dd6508e613842c92db34896b48a8dce40fb1987 (patch)
tree1981281e535d3f2cf6d3620c1f13e8f5368a3e31 /module/plugins
parent[SimpleCrypter] Fix handle_direct (diff)
downloadpyload-0dd6508e613842c92db34896b48a8dce40fb1987.tar.xz
[XFileSharing] Fix setup_base
Diffstat (limited to 'module/plugins')
-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):