Draft: Fixed DXF imorter for non-GUI operation - fixes #1961

This commit is contained in:
Yorik van Havre 2015-02-13 16:49:29 -02:00
parent 40f0927705
commit 5a9d79ac94

View File

@ -57,6 +57,8 @@ if gui:
# check dxfLibrary version
try:
if FreeCAD.ConfigGet("UserAppData") not in sys.path:
sys.path.append(FreeCAD.ConfigGet("UserAppData"))
import dxfLibrary
import dxfColorMap
import dxfReader