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']: |