mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
improved code a bit
This commit is contained in:
parent
bc491c8cb0
commit
5fb58d9998
@ -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()
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user