From 0dd6508e613842c92db34896b48a8dce40fb1987 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 2 Jan 2016 15:27:51 +0100 Subject: [XFileSharing] Fix setup_base --- module/plugins/crypter/XFileSharingFolder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/XFileSharingFolder.py') 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): -- cgit v1.2.3