another improvement to https://github.com/dcowden/cadquery/pull/87 wich removes multiple calls to _fc_path

This commit is contained in:
moeb 2015-05-15 13:26:34 +02:00
parent 205a6ef01a
commit a6a9bc6614

View File

@ -104,7 +104,7 @@ try:
except ImportError:
path = _fc_path()
if path:
sys.path.insert(0, _fc_path())
sys.path.insert(0, path)
try:
import FreeCAD
except ImportError: