From da54337221ca51a42019f5a1d91717752da103ad Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 12 Apr 2023 13:31:59 +0200 Subject: [PATCH] Fixed ProjectSettings --- src/cpl_cli/configuration/project_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpl_cli/configuration/project_settings.py b/src/cpl_cli/configuration/project_settings.py index bcb27654..5ddf6b31 100644 --- a/src/cpl_cli/configuration/project_settings.py +++ b/src/cpl_cli/configuration/project_settings.py @@ -49,7 +49,7 @@ class ProjectSettings(ConfigurationModelABC): self._python_executable: Optional[str] = python_executable self._classifiers: Optional[list[str]] = [] if classifiers is None else classifiers - if python_path is not None: + if python_path is not None and sys.platform in python_path: path = f"{python_path[sys.platform]}" if path == "" or path is None: