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:
Jon Evans 2023-01-02 13:06:20 -05:00
parent f4a80903f0
commit af0b176f57
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ wx_version = ""
try:
from wx import version
wx_version = version()
except (ImportError, ModuleNotFoundError):
except:
pass
)", pybind11::globals(), locals );