UI/UserInterface.py

branch
5_3_x
changeset 2558
bc79bae54496
parent 2475
c74e1cff7f3f
child 2561
b396baae6aa7
equal deleted inserted replaced
2557:bf643d8b37fc 2558:bc79bae54496
1032 if argsStr is None: 1032 if argsStr is None:
1033 argsStr = arg 1033 argsStr = arg
1034 else: 1034 else:
1035 argsStr = "{0} {1}".format(argsStr, arg) 1035 argsStr = "{0} {1}".format(argsStr, arg)
1036 continue 1036 continue
1037 1037
1038 ext = os.path.splitext(arg)[1] 1038 try:
1039 ext = os.path.normcase(ext) 1039 ext = os.path.splitext(arg)[1]
1040 ext = os.path.normcase(ext)
1041 except IndexError:
1042 ext = ""
1040 1043
1041 if ext in ['.e4p']: 1044 if ext in ['.e4p']:
1042 self.project.openProject(arg) 1045 self.project.openProject(arg)
1043 opens += 1 1046 opens += 1
1044 elif ext in ['.e4m']: 1047 elif ext in ['.e4m']:

eric ide

mercurial