From e7d7c8cc2ffc9309a0b8261c23350237df8020e6 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 13 May 2023 18:31:23 +0300 Subject: [PATCH] 1 --- hlna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlna.py b/hlna.py index 7142e1f..c8bc4c2 100755 --- a/hlna.py +++ b/hlna.py @@ -518,7 +518,7 @@ def start_stop(action, g, m, b): names_serverstart = choose_map(names_serverstart) for i in names_serverstart: data = read_yaml(i) - y = os.system(f"~/git/hln-a/hlna.py rcon SaveWorld -m {i}") if action == ("restart", "stop") else "" + y = os.system(f"~/git/hln-a/hlna.py rcon SaveWorld -m {i}") if action == "restart" or action == "stop" else "" x = os.system(f"systemctl --user {action} ark_{data['SessionName'].lower()}.service") print_line(y) if x == 0: