Fixed python path in project settings #144

This commit is contained in:
Sven Heidemann 2022-12-19 08:36:24 +01:00
parent 46fa49a102
commit b95d90a191

View File

@ -130,9 +130,7 @@ class ProjectSettings(ConfigurationModelABC):
path = sys.executable
else:
if not path.endswith('bin/python'):
if not path.endswith('/') and len(path) > 0:
path += '/'
path += 'bin/python'
path = os.path.join('bin/python')
else:
path = sys.executable