Removed email from files;
This commit is contained in:
parent
995b00d65d
commit
75a70f15a0
6
main.py
6
main.py
@ -1,6 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Main application
|
Main application
|
||||||
Copyright (C) 2023 Benjamin Burkhardt <benjamin@dieburkhardts.de>
|
Copyright (C) 2023 Benjamin Burkhardt
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -32,12 +32,12 @@ if __name__ == "__main__":
|
|||||||
# create the window
|
# create the window
|
||||||
ui_file = QFile(ui_file_name)
|
ui_file = QFile(ui_file_name)
|
||||||
if not ui_file.open(QIODevice.ReadOnly):
|
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)
|
sys.exit(-1)
|
||||||
window = QUiLoader().load(ui_file)
|
window = QUiLoader().load(ui_file)
|
||||||
ui_file.close()
|
ui_file.close()
|
||||||
if not window:
|
if not window:
|
||||||
print(loader.errorString())
|
logger.log(loader.errorString(), 1)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
|
2
utils.py
2
utils.py
@ -1,6 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Utility classes and functions
|
Utility classes and functions
|
||||||
Copyright (C) 2023 Benjamin Burkhardt <benjamin@dieburkhardts.de>
|
Copyright (C) 2023 Benjamin Burkhardt
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
Loading…
Reference in New Issue
Block a user