Use an exception formatting function that works in Python <3.10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user