--- a/QScintilla/MiniEditor.py Sat Oct 19 12:28:12 2013 +0200 +++ b/QScintilla/MiniEditor.py Sat Oct 19 13:03:39 2013 +0200 @@ -2222,7 +2222,7 @@ else: shownName = self.__strippedName(self.__curFile) - self.setWindowTitle(self.trUtf8("{0}[*] - {1}")\ + self.setWindowTitle(self.trUtf8("{0}[*] - {1}") .format(shownName, self.trUtf8("Mini Editor"))) self.__textEdit.setModified(False) @@ -2794,7 +2794,7 @@ if self.filetype == "": line0 = self.__textEdit.text(0) if line0.startswith("#!") and \ - ("python2" in line0 or \ + ("python2" in line0 or ("python" in line0 and not "python3" in line0)): return True