trivial bugfix in Draft DXF export

wrong namespace for Part.OCCError
This commit is contained in:
Sebastian Hoogen 2015-03-10 14:39:12 +01:00 committed by wmayer
parent 4a5a4e9af2
commit 850ca3ac54

View File

@ -1494,7 +1494,7 @@ def projectShape(shape,direction):
edges = []
try:
groups = Drawing.projectEx(shape,direction)
except OCCError:
except Part.OCCError:
print("unable to project shape on direction ",direction)
return shape
else: