Skip to content

Commit

Permalink
PartDesign: [skip ci] if numpy fails to load due a RuntimeError then …
Browse files Browse the repository at this point in the history
…handle this exception but still load the workbench
  • Loading branch information
wwmayer committed Nov 15, 2020
1 parent ed175c9 commit 55af73b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/PartDesign/InitGui.py
Expand Up @@ -39,7 +39,10 @@ def __init__(self):
def Initialize(self):
# load the module
try:
import traceback
from PartDesign.WizardShaft import WizardShaft
except RuntimeError:
print ("{}".format(traceback.format_exc()))
except ImportError:
print("Wizard shaft module cannot be loaded")
try:
Expand Down

0 comments on commit 55af73b

Please sign in to comment.