diff -r e9e7eca7efee -r bf71ee032bb4 scripts/compileUiFiles.py --- a/scripts/compileUiFiles.py Wed Jul 13 11:16:20 2022 +0200 +++ b/scripts/compileUiFiles.py Wed Jul 13 14:55:47 2022 +0200 @@ -18,7 +18,7 @@ """ Local function to create the Python source file name for the compiled .ui file. - + @param py_dir suggested name of the directory (string) @param py_file suggested name for the compile source file (string) @return tuple of directory name (string) and source file name (string) @@ -49,8 +49,8 @@ # Compile .ui files print("Compiling user interface files...") compileUiFiles() - - + + if __name__ == "__main__": try: main(sys.argv) @@ -60,7 +60,8 @@ print( "\nAn internal error occured. Please report all the output of the" " program, \nincluding the following traceback, to" - " eric-bugs@eric-ide.python-projects.org.\n") + " eric-bugs@eric-ide.python-projects.org.\n" + ) raise #