eric7/Cooperation/ChatWidget.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
diff -r 8a68afaf1ba2 -r 506e35e424d5 eric7/Cooperation/ChatWidget.py
--- a/eric7/Cooperation/ChatWidget.py	Thu Jun 16 18:28:59 2022 +0200
+++ b/eric7/Cooperation/ChatWidget.py	Fri Jun 17 16:36:14 2022 +0200
@@ -569,7 +569,7 @@
                         self,
                         self.tr("Save Chat"),
                         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
@@ -583,8 +583,8 @@
                         self.tr("Error saving Chat"),
                         self.tr("""<p>The chat contents could not be"""
                                 """ written to <b>{0}</b></p>"""
-                                """<p>Reason: {1}</p>""") .format(
-                            str(fpath), str(err)))
+                                """<p>Reason: {1}</p>""")
+                        .format(fpath, str(err)))
     
     def __copyChat(self):
         """

eric ide

mercurial