Command handling config bugfix

This commit is contained in:
2021-03-16 22:09:42 +01:00
parent ecd3e77a38
commit bc99763329
3 changed files with 6 additions and 3 deletions

View File

@@ -110,7 +110,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 not os.path.isfile(path) and not os.path.islink(path):
if path != '' and path is not None:
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')