eric7/QScintilla/Editor.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
child 9186
0c28a1670e06
--- a/eric7/QScintilla/Editor.py	Thu Jun 16 18:28:59 2022 +0200
+++ b/eric7/QScintilla/Editor.py	Fri Jun 17 16:36:14 2022 +0200
@@ -3389,7 +3389,7 @@
                     self,
                     self.tr("Save File"),
                     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 ""
@@ -6887,7 +6887,7 @@
                 self,
                 self.tr("Save macro"),
                 self.tr("<p>The macro file <b>{0}</b> already exists."
-                        " Overwrite it?</p>").format(str(fpath)),
+                        " Overwrite it?</p>").format(fpath),
                 icon=EricMessageBox.Warning)
             if not res:
                 return
@@ -6902,7 +6902,7 @@
                 self.tr("Error saving macro"),
                 self.tr(
                     "<p>The macro file <b>{0}</b> could not be written.</p>")
-                .format(str(fpath)))
+                .format(fpath))
             return
         
     def macroRecordingStart(self):

eric ide

mercurial