src/eric7/EricWidgets/EricSingleApplication.py

branch
eric7
changeset 11032
84a66daa5e34
parent 10595
59579e8aff98
child 11090
f5f5f5803935
equal deleted inserted replaced
11031:9f75293fcd57 11032:84a66daa5e34
118 118
119 @param args namespace object containing the parsed command line parameters 119 @param args namespace object containing the parsed command line parameters
120 @type argparse.Namespace 120 @type argparse.Namespace
121 """ 121 """
122 for filename in args.file_or_project: 122 for filename in args.file_or_project:
123 ext = os.path.normcase(os.path.splitext(filename)[1]) 123 ext = os.path.splitext(filename)[1].lower()
124 124
125 if ext in (".epj",): 125 if ext in (".epj",):
126 self.__openProject(filename) 126 self.__openProject(filename)
127 elif ext in (".emj",): 127 elif ext in (".emj",):
128 self.__openMultiProject(filename) 128 self.__openMultiProject(filename)

eric ide

mercurial