[Draft] ImportDXF Bug upgrading from 0.16

See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=41879
This commit is contained in:
Syres916
2019-12-23 16:18:34 +00:00
committed by Yorik van Havre
parent 8af8689d73
commit e96dcda79d

View File

@@ -185,7 +185,10 @@ def getDXFlibs():
global dxfLibrary, dxfColorMap, dxfReader
import dxfLibrary
import dxfColorMap
import dxfReader
try:
import dxfReader
except:
libsok = False
except ImportError:
libsok = False
FCC.PrintWarning("DXF libraries not found. Trying to download...\n")