fix
This commit is contained in:
parent
080f84477f
commit
7e40a5e9f5
5
main.py
5
main.py
@ -24,7 +24,10 @@ def call(command: str) -> Response:
|
|||||||
|
|
||||||
|
|
||||||
def get_hosts() -> list[str]:
|
def get_hosts() -> list[str]:
|
||||||
return list(set(configurator.get_config("hosts") + ["platform.develop.sprinthub.ru"]))
|
if os.getenv("STAGE") == "development":
|
||||||
|
return list(set(configurator.get_config("hosts") + ["platform.develop.sprinthub.ru"]))
|
||||||
|
else:
|
||||||
|
return list(set(configurator.get_config("hosts") + ["platform.sprinthub.ru"]))
|
||||||
|
|
||||||
|
|
||||||
def update_host(host: str) -> bool:
|
def update_host(host: str) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user