From bf2df5238caa27e671499ea39c270ae948c6004e Mon Sep 17 00:00:00 2001 From: sitisll Date: Mon, 15 May 2023 16:05:40 +0300 Subject: [PATCH] path server --- hlna.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hlna.py b/hlna.py index 00ab10d..02d7580 100755 --- a/hlna.py +++ b/hlna.py @@ -392,7 +392,8 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server="" with open(path_yaml, 'w') as yamlfile: yaml.dump(settings, yamlfile) print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL) - systemd_unit_create(game) + if game != "path_server": + systemd_unit_create(game) def systemd_unit_create(game, config_7days="", name_server=list_config):