MCPcopy
hub / github.com/pyload/pyload / preprocessing

Method preprocessing

module/plugins/Plugin.py:224–237  ·  view source on GitHub ↗

handles important things to do before starting

(self, thread)

Source from the content-addressed store, hash-verified

222 pass
223
224 def preprocessing(self, thread):
225 """ handles important things to do before starting """
226 self.thread = thread
227
228 if self.account:
229 self.account.checkLogin(self.user)
230 else:
231 self.req.clearCookies()
232
233 self.setup()
234
235 self.pyfile.setStatus("starting")
236
237 return self.process(self.pyfile)
238
239
240 def process(self, pyfile):

Callers 2

runMethod · 0.45
runMethod · 0.45

Calls 4

setupMethod · 0.95
processMethod · 0.95
setStatusMethod · 0.80
clearCookiesMethod · 0.45

Tested by

no test coverage detected