--- a/Plugins/PluginPep8Checker.py Sat Mar 19 16:08:57 2011 +0100 +++ b/Plugins/PluginPep8Checker.py Mon Mar 21 20:03:40 2011 +0100 @@ -265,7 +265,7 @@ """ editor = e5App().getObject("ViewManager").activeWindow() if editor is not None: - if editor.checkDirty(): + if editor.checkDirty() and editor.getFileName() is not None: self.__editorPep8CheckerDialog = Pep8Dialog() self.__editorPep8CheckerDialog.show() self.__editorPep8CheckerDialog.start(