Bugfixes for windows support

This commit is contained in:
Sven Heidemann
2021-03-16 21:37:12 +01:00
parent d7becdd9bc
commit dffa1ac703
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class ProjectSettings(ConfigurationModelABC):
if ProjectSettingsNameEnum.python_path.value in settings:
path = settings[ProjectSettingsNameEnum.python_path.value]
if not os.path.isfile(path) or not os.path.islink(path):
if path != '':
if path != '' and path is not None:
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')
path = sys.executable