def main(self):
self.loop = MainLoop(self.view, DEFAULT_PALETTE, handle_mouse = self.handle_mouse)
self.animate_graph()
try:
self.loop.run()
except (ZeroDivisionError):
logging.debug("Some stat caused divide by zero exception. Exiting")
self.exit_program()
评论列表
文章目录