diff --git a/main.py b/main.py index eb7dd88..5283fe5 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ """ Main application -Copyright (C) 2023 Benjamin Burkhardt +Copyright (C) 2023 Benjamin Burkhardt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,12 +32,12 @@ if __name__ == "__main__": # create the window ui_file = QFile(ui_file_name) if not ui_file.open(QIODevice.ReadOnly): - logger.log(f"Cannot open {ui_file_name}: {ui_file.errorString()}", 1) + logger.log(f"Cannot open {ui_file_name}: {ui_file.errorString()}. Exiting.", 1) sys.exit(-1) window = QUiLoader().load(ui_file) ui_file.close() if not window: - print(loader.errorString()) + logger.log(loader.errorString(), 1) sys.exit(-1) window.show() diff --git a/utils.py b/utils.py index 816bb54..9f96da7 100644 --- a/utils.py +++ b/utils.py @@ -1,6 +1,6 @@ """ Utility classes and functions -Copyright (C) 2023 Benjamin Burkhardt +Copyright (C) 2023 Benjamin Burkhardt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by