diff --git a/gui/wxpython/gui_core/pyedit.py b/gui/wxpython/gui_core/pyedit.py index c7c9a4768a9..4974e0ce8f5 100644 --- a/gui/wxpython/gui_core/pyedit.py +++ b/gui/wxpython/gui_core/pyedit.py @@ -506,9 +506,9 @@ def OpenRecentFile(self, path, file_exists, file_history): """ if not file_exists: GError( - _("File <{path}> doesn't exist. It was probably moved or deleted.").format( - path=path - ), + _( + "File <{path}> doesn't exist. It was probably moved or deleted." + ).format(path=path), parent=self.guiparent, ) return