eric6/Debugger/DebugUI.py

changeset 7903
827d89937c30
parent 7899
ecf67e07b6e0
child 7923
91e843545d9a
--- a/eric6/Debugger/DebugUI.py	Sun Dec 20 12:35:26 2020 +0100
+++ b/eric6/Debugger/DebugUI.py	Sun Dec 20 20:13:42 2020 +0100
@@ -1092,8 +1092,7 @@
                         self.ui, Program,
                         self.tr('<p><b>{0}</b> has terminated with an exit'
                                 ' status of {1}.</p>{2}').format(
-                            os.path.abspath(self.ui.currentProg),
-                            status, info)
+                            os.path.abspath(program), status, info)
                     )
             else:
                 if message:
@@ -1124,8 +1123,7 @@
                         self.appendStdout.emit(self.tr(
                             '"{0}" has terminated with an exit status of'
                             ' {1}.\n{2}\n').format(
-                            os.path.abspath(self.ui.currentProg),
-                            status, info)
+                            os.path.abspath(program), status, info)
                         )
     
     def __lastClientExited(self):

eric ide

mercurial