Skip to content

Commit

Permalink
Draft: small bugfix - issue #2162
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 5, 2015
1 parent 2bc0826 commit 8c222a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/importDXF.py
Expand Up @@ -1289,7 +1289,7 @@ def processdxf(document,filename,getShapes=False):
d = rawValue(dim,50)
if d: angle = float(d)
else: angle = 0
except ValueError:
except (ValueError,TypeError):
warn(dim)
else:
lay=locateLayer(layer)
Expand Down

0 comments on commit 8c222a8

Please sign in to comment.