mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 05:36:55 +00:00
Use an exception formatting function that works in Python <3.10
This commit is contained in:
parent
e8167f33d7
commit
eb4220bd29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user