From a6a9bc66141b7892e0e156d305d8985402c653b4 Mon Sep 17 00:00:00 2001 From: moeb Date: Fri, 15 May 2015 13:26:34 +0200 Subject: [PATCH] another improvement to https://github.com/dcowden/cadquery/pull/87 wich removes multiple calls to _fc_path --- cadquery/freecad_impl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cadquery/freecad_impl/__init__.py b/cadquery/freecad_impl/__init__.py index 338bcea..3e041e3 100644 --- a/cadquery/freecad_impl/__init__.py +++ b/cadquery/freecad_impl/__init__.py @@ -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: