Use an exception formatting function that works in Python <3.10

This commit is contained in:
Jon Evans
2025-01-10 21:37:42 -05:00
parent e8167f33d7
commit eb4220bd29
+1 -1
View File
@@ -115,7 +115,7 @@ try:
import wx.adv, wx.html, wx.richtext
except Exception as e:
exception_output = "".join(traceback.format_exception(e))
exception_output = "".join(traceback.format_exc())
)", pybind11::globals(), locals );
const auto getLocal = [&]( const wxString& aName ) -> wxString