Fixed ProjectSettings
This commit is contained in:
parent
a6a1e764d1
commit
da54337221
@ -49,7 +49,7 @@ class ProjectSettings(ConfigurationModelABC):
|
|||||||
self._python_executable: Optional[str] = python_executable
|
self._python_executable: Optional[str] = python_executable
|
||||||
self._classifiers: Optional[list[str]] = [] if classifiers is None else classifiers
|
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]}"
|
path = f"{python_path[sys.platform]}"
|
||||||
|
|
||||||
if path == "" or path is None:
|
if path == "" or path is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user