--- a/UI/UserInterface.py Mon Apr 01 17:56:48 2013 +0200 +++ b/UI/UserInterface.py Thu Apr 04 19:08:42 2013 +0200 @@ -1034,9 +1034,12 @@ else: argsStr = "{0} {1}".format(argsStr, arg) continue - - ext = os.path.splitext(arg)[1] - ext = os.path.normcase(ext) + + try: + ext = os.path.splitext(arg)[1] + ext = os.path.normcase(ext) + except IndexError: + ext = "" if ext in ['.e4p']: self.project.openProject(arg)