commit
a85e7d4ee2
4
main.py
4
main.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user