--- a/scripts/compileUiFiles.py Wed May 24 17:28:58 2023 +0200 +++ b/scripts/compileUiFiles.py Wed May 24 19:54:24 2023 +0200 @@ -130,11 +130,9 @@ print("No valid 'eric7' source layout could be found. Aborting...") -def main(argv): +def main(): """ The main function of the script. - - @param argv the list of command line arguments. """ # Compile .ui files print("Compiling user interface files...") @@ -143,7 +141,7 @@ if __name__ == "__main__": try: - main(sys.argv) + main() except SystemExit: raise except Exception: