Debugger/DebugUI.py

changeset 5126
d28b92dabc2b
parent 5121
d5d2cbf49daf
child 5141
bc64243b7672
--- a/Debugger/DebugUI.py	Thu Sep 01 18:28:27 2016 +0200
+++ b/Debugger/DebugUI.py	Fri Sep 02 19:08:02 2016 +0200
@@ -1118,7 +1118,7 @@
         """
         self.ui.raise_()
         QApplication.processEvents()
-        if exceptionType is None:
+        if not exceptionType:
             E5MessageBox.critical(
                 self.ui, Program,
                 self.tr('An unhandled exception occured.'

eric ide

mercurial