Just catch any Python exception, we don't care what it is.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13354
This commit is contained in:
parent
f4a80903f0
commit
af0b176f57
|
@ -94,7 +94,7 @@ wx_version = ""
|
|||
try:
|
||||
from wx import version
|
||||
wx_version = version()
|
||||
except (ImportError, ModuleNotFoundError):
|
||||
except:
|
||||
pass
|
||||
)", pybind11::globals(), locals );
|
||||
|
||||
|
|
Loading…
Reference in New Issue