mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Don't use agent.python_binary if it is empty
This commit is contained in:
parent
4ce3fed3c3
commit
f0b083d8c5
@ -90,7 +90,7 @@ class PoetryConfig:
|
||||
if not self._initialized:
|
||||
# use correct python version -- detected in Worker.install_virtualenv() and written to
|
||||
# session
|
||||
if self.session.config.get("agent.python_binary", None) is not None:
|
||||
if self.session.config.get("agent.python_binary", None):
|
||||
self._python = self.session.config.get("agent.python_binary")
|
||||
|
||||
if self.session.config.get("agent.package_manager.poetry_version", None) is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user