--- a/scripts/create_windows_links.py Wed May 24 17:28:58 2023 +0200 +++ b/scripts/create_windows_links.py Wed May 24 19:54:24 2023 +0200 @@ -22,12 +22,9 @@ from eric7.Globals import getConfig -def main(argv): +def main(): """ Create Desktop and Start Menu links. - - @param argv list of command line arguments - @type list of str """ if sys.platform.startswith(("win", "cygwin")): regPath = ( @@ -157,7 +154,7 @@ if __name__ == "__main__": try: - main(sys.argv) + main() except SystemExit: raise except Exception: