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:
parent
492dd2f6c7
commit
d0749bd779
|
@ -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...
|
||||
|
|
Loading…
Reference in New Issue
Block a user