Fixed None type in EmployeeModel.py
This commit is contained in:
2
main.py
2
main.py
@@ -121,10 +121,10 @@ if __name__ == "__main__":
|
||||
else:
|
||||
initializeProgram()
|
||||
|
||||
engine.rootContext().setContextProperty("config", config)
|
||||
engine.rootContext().setContextProperty("sys_printers", printers)
|
||||
engine.rootContext().setContextProperty("bad_config", bad_config) # print(f"Fehler: {i}")
|
||||
engine.rootContext().setContextProperty("db_con", db_con)
|
||||
engine.rootContext().setContextProperty("config", config)
|
||||
engine.rootContext().setContextProperty("systray", tray)
|
||||
|
||||
engine.load(qml_file)
|
||||
|
||||
Reference in New Issue
Block a user