Skip to content

Commit

Permalink
re-instate startup controller
Browse files Browse the repository at this point in the history
  • Loading branch information
rfletchr committed Oct 1, 2024
1 parent 421d810 commit 3693aae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cocktail/ui/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def main():
if args.list_resources:
list_resources()



def start():
"""
Creating a database connection will create an empty database if one does not exist.
Expand All @@ -62,7 +64,10 @@ def start():
if not args.no_update:
MAIN_CONTROLLER.database_controller.updateModelData()

start()
start_up_controller = StartupController()
start_up_controller.complete.connect(start)
start_up_controller.start()

app.exec()


Expand Down

0 comments on commit 3693aae

Please sign in to comment.