diff -r 8a68afaf1ba2 -r 506e35e424d5 eric7/QScintilla/Shell.py --- a/eric7/QScintilla/Shell.py Thu Jun 16 18:28:59 2022 +0200 +++ b/eric7/QScintilla/Shell.py Fri Jun 17 16:36:14 2022 +0200 @@ -2410,7 +2410,7 @@ self, self.tr("Save Shell Contents"), 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 @@ -2423,7 +2423,7 @@ self.tr("Save Shell Contents"), self.tr('<p>The file <b>{0}</b> could not be saved.<br/>' 'Reason: {1}</p>') - .format(str(fpath), str(why))) + .format(fpath, str(why))) ################################################################# ## Project Support