QScintilla/Shell.py

changeset 5126
d28b92dabc2b
parent 5108
f5cb9cb98e6a
child 5176
30547e9a19e3
diff -r d5d2cbf49daf -r d28b92dabc2b QScintilla/Shell.py
--- a/QScintilla/Shell.py	Thu Sep 01 18:28:27 2016 +0200
+++ b/QScintilla/Shell.py	Fri Sep 02 19:08:02 2016 +0200
@@ -697,7 +697,7 @@
         self .__clientError()
         
         if Preferences.getDebugger("ShowExceptionInShell"):
-            if exceptionType is not None:
+            if exceptionType:
                 if stackTrace:
                     self.__write(
                         self.tr('Exception "{0}"\n{1}\nFile: {2}, Line: {3}\n')

eric ide

mercurial