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 path = sys.executable
else: else:
if not path.endswith('bin/python'): if not path.endswith('bin/python'):
if not path.endswith('/') and len(path) > 0: path = os.path.join('bin/python')
path += '/'
path += 'bin/python'
else: else:
path = sys.executable path = sys.executable