Merge pull request 'fix' (#36) from master into prod

Reviewed-on: #36
This commit is contained in:
emmatveev 2025-06-04 21:14:44 +03:00
commit a85e7d4ee2

View File

@ -25,9 +25,9 @@ def call(command: str) -> Response:
def get_hosts() -> list[str]:
if os.getenv("STAGE") == "development":
return list(set(configurator.get_config("hosts") + ["platform.develop.sprinthub.ru"]))
return list(set(list(configurator.get_config("hosts")) + ["platform.develop.sprinthub.ru"]))
else:
return list(set(configurator.get_config("hosts") + ["platform.sprinthub.ru"]))
return list(set(list(configurator.get_config("hosts")) + ["platform.sprinthub.ru"]))
def update_host(host: str) -> bool: