another improvement to https://github.com/dcowden/cadquery/pull/87 wich removes multiple calls to _fc_path
This commit is contained in:
@ -104,7 +104,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
path = _fc_path()
|
path = _fc_path()
|
||||||
if path:
|
if path:
|
||||||
sys.path.insert(0, _fc_path())
|
sys.path.insert(0, path)
|
||||||
try:
|
try:
|
||||||
import FreeCAD
|
import FreeCAD
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
Reference in New Issue
Block a user