another improvement to https://github.com/dcowden/cadquery/pull/87 wich removes multiple calls to _fc_path
This commit is contained in:
parent
205a6ef01a
commit
a6a9bc6614
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user