Don't use an f-string, in order to not break Py2.7 (yet)

This commit is contained in:
Robin Dunn
2020-06-26 21:49:47 -07:00
parent 089985a9fb
commit 41220cc9bb

View File

@@ -522,7 +522,7 @@ def run():
except ValueError as ex:
target = wx.LogStderr()
orig = wx.Log.SetActiveTarget(target)
wx.LogError(f"Unable to set default locale: '{ex}'")
wx.LogError("Unable to set default locale: '{}'".format(ex))
wx.Log.SetActiveTarget(orig)
"""),