Beispiel #1
0
 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())
Beispiel #2
0
 def about(self):
     tasks.coreUpdateCheck()
     template = self.env.get_template('about.html')
     return template.render(platform=platform,
                            originalArgs=sys.argv,
                            xdm=xdm,
                            **self._globals())
Beispiel #3
0
 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())
Beispiel #4
0
 def about(self):
     tasks.coreUpdateCheck()
     template = self.env.get_template('about.html')
     return template.render(platform=platform, originalArgs=sys.argv, xdm=xdm, **self._globals())