eric7/HexEdit/HexEditMainWindow.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
child 9162
8b75b1668583
--- a/eric7/HexEdit/HexEditMainWindow.py	Thu Jun 16 18:28:59 2022 +0200
+++ b/eric7/HexEdit/HexEditMainWindow.py	Fri Jun 17 16:36:14 2022 +0200
@@ -1175,7 +1175,7 @@
                 self,
                 self.tr("Save to readable 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
@@ -1192,7 +1192,7 @@
             EricMessageBox.warning(
                 self, self.tr("eric Hex Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
-                .format(str(fpath), str(err)))
+                .format(fpath, str(err)))
             return
         
         self.__statusBar.showMessage(self.tr("File saved"), 2000)

eric ide

mercurial