diff options
Diffstat (limited to 'src/main.py')
-rw-r--r-- | src/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
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_() |