--- a/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Thu Jun 16 18:28:59 2022 +0200 +++ b/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Fri Jun 17 16:36:14 2022 +0200 @@ -573,7 +573,7 @@ self, self.tr("Export Highlighting Styles"), self.tr("""<p>The highlighting styles file <b>{0}</b> exists""" - """ already. Overwrite it?</p>""").format(str(fpath))) + """ already. Overwrite it?</p>""").format(fpath)) if fpath.exists() else True )