improved code a bit

This commit is contained in:
Adam Saudagar 2023-03-07 00:11:19 +05:30
parent bc491c8cb0
commit 5fb58d9998
2 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,7 @@ def main():
if not check_eula():
return
splash = Splash()
bot = EngineEventHandler(lambda: gui)
gui = GUI(lambda: bot, lambda: on_gui_load(gui, splash, logger))
logger = GuiLogger()
@ -70,7 +71,7 @@ def main():
logging.info(f"Fishybot v{fishy.__version__}")
splash = Splash().start()
splash.start()
config.start_backup_scheduler()
initialize()

View File

@ -20,7 +20,6 @@ class Splash:
def start(self):
self.process.start()
return self
def show(self, win_loc, q):
logging.debug("started splash process")