Skip to content

Commit

Permalink
Draft: Small fix in DXF importer - fixes #1961
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 11, 2015
1 parent 02efe58 commit fe3bb2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Mod/Draft/importDXF.py
Expand Up @@ -47,12 +47,13 @@
from FreeCAD import Vector

gui = FreeCAD.GuiUp
draftui = None
if gui:
import FreeCADGui
try:
draftui = FreeCADGui.draftToolBar
except AttributeError:
draftui = None
try:
draftui = FreeCADGui.draftToolBar
except AttributeError:
pass

# check dxfLibrary version
try:
Expand Down

0 comments on commit fe3bb2c

Please sign in to comment.