fix #36

Merged
emmatveev merged 1 commits from master into prod 2025-06-04 21:14:45 +03:00

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: