MCPcopy Index your code
hub / github.com/pyload/pyload / setup_base

Method setup_base

module/plugins/crypter/XFileSharingFolder.py:41–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39
40 #@TODO: Recheck in 0.4.10
41 def setup_base(self):
42 XFSCrypter.setup_base(self)
43
44 if self.account:
45 self.req = self.pyload.requestFactory.getRequest(
46 self.PLUGIN_NAME, self.account.user)
47 # @NOTE: Don't call get_info here to reduce overhead
48 self.premium = self.account.info['data']['premium']
49 else:
50 self.req = self.pyload.requestFactory.getRequest(self.classname)
51 self.premium = False
52
53 #@TODO: Recheck in 0.4.10
54 def load_account(self):

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected