def launch(): if not config.IS_OUT_TERMINAL: return preloader.counter = 0 preloader.isLaunch = True thread.start_new_thread(preloader.draw, ())