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 c023355fcb
commit 9220ceb692

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