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 910d6c93c2
commit 04d1a8b420

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: