handle not having a path (#798)
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
d5cf6771a0
commit
4f07910eae
@ -82,7 +82,7 @@ _path_list = [pkg_resources.resource_filename(__name__, 'lib'),
|
|||||||
'',
|
'',
|
||||||
distutils.sysconfig.get_python_lib(),
|
distutils.sysconfig.get_python_lib(),
|
||||||
"/usr/local/lib/" if sys.platform == 'darwin' else '/usr/lib64',
|
"/usr/local/lib/" if sys.platform == 'darwin' else '/usr/lib64',
|
||||||
os.environ['PATH']]
|
os.getenv('PATH','')]
|
||||||
|
|
||||||
#print(_path_list)
|
#print(_path_list)
|
||||||
#print("-" * 80)
|
#print("-" * 80)
|
||||||
|
Reference in New Issue
Block a user