def about(self, runTask=None): if runTask is None: tasks.coreUpdateCheck() else: common.SCHEDULER.runTaskNow(runTask) template = env.get_template('about.html') return template.render(platform=platform, originalArgs=sys.argv, xdm=xdm, **self._globals())
def about(self): tasks.coreUpdateCheck() template = self.env.get_template('about.html') return template.render(platform=platform, originalArgs=sys.argv, xdm=xdm, **self._globals())
def status(self, runTask=None): if runTask is None: tasks.coreUpdateCheck() else: common.SCHEDULER.runTaskNow(runTask) template = env.get_template('about.html') return template.render(platform=platform, originalArgs=sys.argv, xdm=xdm, **self._globals())