diff --git a/main.py b/main.py index 5c49be5..8397502 100644 --- a/main.py +++ b/main.py @@ -87,7 +87,7 @@ while True: else: container_id_run = call(f"echo $(docker ps -q -f name=infra_nginx)").out - restart = call("docker exec {container_id_run} python3 prepare.py && nginx -s reload") + restart = call(f"docker exec {container_id_run} python3 prepare.py && nginx -s reload") print(restart.out + restart.err) time.sleep(30)