From da55effe25371239ac8fd2ad07dd30d6f653d278 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sat, 18 May 2024 12:48:29 +0700 Subject: [PATCH] fix: editorconfig issue --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 67c6a34..a57c23a 100644 --- a/setup.py +++ b/setup.py @@ -107,7 +107,8 @@ def ping(host: str) -> bool: for container in containers: print(f"Running commands for {container} on {server}") _, o1, e1 = client.exec_command( - f"echo '{SUDO_PASSWORD[server]}' | sudo -S bash -c 'cd {container}; if [ -f \"setup.sh\" ]; then\n chmod +x setup.sh && sudo ./setup.sh\nfi'" + f"echo '{SUDO_PASSWORD[server]}' | sudo -S bash -c 'cd {container};" + \ + f"if [ -f \"setup.sh\" ]; then\n chmod +x setup.sh && sudo ./setup.sh\nfi'" ) for c in iter(lambda: o1.read(1), b""): sys.stdout.buffer.write(c)