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:
@ -41,10 +41,10 @@ def _fc_path():
|
|||||||
return _PATH
|
return _PATH
|
||||||
|
|
||||||
#look for FREECAD_LIB env variable
|
#look for FREECAD_LIB env variable
|
||||||
if os.environ.has_key('FREECAD_LIB'):
|
if os.environ.has_key('FREECAD_LIB'):
|
||||||
_PATH = os.environ.get('FREECAD_LIB')
|
_PATH = os.environ.get('FREECAD_LIB')
|
||||||
if os.path.exists( _PATH):
|
if os.path.exists( _PATH):
|
||||||
return _PATH
|
return _PATH
|
||||||
|
|
||||||
if sys.platform.startswith('linux'):
|
if sys.platform.startswith('linux'):
|
||||||
#Make some dangerous assumptions...
|
#Make some dangerous assumptions...
|
||||||
|
|||||||
Reference in New Issue
Block a user