From d0749bd7793d3ae4fb72849520679d3db1f41d6a Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Fri, 10 May 2013 05:13:15 +0300 Subject: [PATCH] Fix Indentation Indentation mixups caused the if condition to never be called and thus failing on systems that used the FREECAD_LIB variable. --- cadquery/freecad_impl/verutil.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cadquery/freecad_impl/verutil.py b/cadquery/freecad_impl/verutil.py index 5c16bf2..051663d 100644 --- a/cadquery/freecad_impl/verutil.py +++ b/cadquery/freecad_impl/verutil.py @@ -41,10 +41,10 @@ def _fc_path(): return _PATH #look for FREECAD_LIB env variable - if os.environ.has_key('FREECAD_LIB'): - _PATH = os.environ.get('FREECAD_LIB') - if os.path.exists( _PATH): - return _PATH + if os.environ.has_key('FREECAD_LIB'): + _PATH = os.environ.get('FREECAD_LIB') + if os.path.exists( _PATH): + return _PATH if sys.platform.startswith('linux'): #Make some dangerous assumptions...