Sat, 02 Nov 2024 19:28:14 +0100
Made a little change to prvent potential issues handling the start argument.
src/eric7/EricWidgets/EricSingleApplication.py | file | annotate | diff | comparison | revisions | |
src/eric7/UI/UserInterface.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/EricWidgets/EricSingleApplication.py Sat Nov 02 17:25:32 2024 +0100 +++ b/src/eric7/EricWidgets/EricSingleApplication.py Sat Nov 02 19:28:14 2024 +0100 @@ -120,7 +120,7 @@ @type argparse.Namespace """ for filename in args.file_or_project: - ext = os.path.normcase(os.path.splitext(filename)[1]) + ext = os.path.splitext(filename)[1].lower() if ext in (".epj",): self.__openProject(filename)
--- a/src/eric7/UI/UserInterface.py Sat Nov 02 17:25:32 2024 +0100 +++ b/src/eric7/UI/UserInterface.py Sat Nov 02 19:28:14 2024 +0100 @@ -1677,7 +1677,7 @@ opens = 0 for filename in args.file_or_project: try: - ext = os.path.normcase(os.path.splitext(filename)[1]) + ext = os.path.splitext(filename)[1].lower() except IndexError: ext = ""