Fix Indentation

Indentation mixups caused the if condition to never be called and thus failing on systems that used the FREECAD_LIB variable.
This commit is contained in:
Phillip Thelen 2013-05-10 05:13:15 +03:00
parent 492dd2f6c7
commit d0749bd779

View File

@ -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...