MCPcopy Create free account
hub / github.com/pyload/pyload / exit

Method exit

module/plugins/internal/Notifier.py:52–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 self.notify(_("pyLoad updated"), etag)
51
52 def exit(self):
53 if not self.config.get('exit', True):
54 return
55
56 if self.pyload.do_restart:
57 self.notify(_("Restarting pyLoad"))
58 else:
59 self.notify(_("Exiting pyLoad"))
60
61 def captcha_task(self, task):
62 if not self.config.get('captcha', True):

Callers

nothing calls this directly

Calls 3

notifyMethod · 0.95
_Function · 0.50
getMethod · 0.45

Tested by

no test coverage detected