eric7/Debugger/CallTraceViewer.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
--- a/eric7/Debugger/CallTraceViewer.py	Thu Jun 16 18:28:59 2022 +0200
+++ b/eric7/Debugger/CallTraceViewer.py	Fri Jun 17 16:36:14 2022 +0200
@@ -170,7 +170,7 @@
                         self,
                         self.tr("Save Call Trace Info"),
                         self.tr("<p>The file <b>{0}</b> already exists."
-                                " Overwrite it?</p>").format(str(fpath)),
+                                " Overwrite it?</p>").format(fpath),
                         icon=EricMessageBox.Warning)
                     if not res:
                         return
@@ -196,7 +196,7 @@
                         self.tr("""<p>The call trace info could not"""
                                 """ be written to <b>{0}</b></p>"""
                                 """<p>Reason: {1}</p>""")
-                        .format(str(fpath), str(err)))
+                        .format(fpath, str(err)))
     
     @pyqtSlot(QTreeWidgetItem, int)
     def on_callTrace_itemDoubleClicked(self, item, column):

eric ide

mercurial