Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.create_view()
self.bind_event()
self.thread = worker.current()
self.loop = TkinterLoop(self.root, worker.update)
self.pool_index = {
id(mission_manager.view): self.view_table,
id(mission_manager.library): self.library_table
}
self.register_listeners()
printer.add_listener(self.sp_callback)
if (setting.getboolean("libraryautocheck") and
time() - setting.getfloat("lastcheckupdate", 0) > setting.getfloat("autocheck_interval") * 60 * 60):
download_manager.start_check_update()
self.update_table(mission_manager.view)
self.update_table(mission_manager.library)
self.save()
self.loop.start()