From 0f1610333324d58acafee8c0fa9d9c9bc293b219 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 31 May 2020 13:59:35 +0200 Subject: Use defined tags for tasks --- src/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py index c4ff4e9..104063b 100644 --- a/src/main.py +++ b/src/main.py @@ -6,12 +6,13 @@ import os.path import db.init import gui.window import arguments +import database args = arguments.parser().parse_args() -database = db.init.init(args.database if args.database != None else 'database') +database.init(args.database if args.database != None else 'database') app = QtWidgets.QApplication(sys.argv) -window = gui.window.get(database) +window = gui.window.get() window.show() res = app.exec_() -- cgit v1.2.3