From b45b8de1ee191b31a9c909ca82b9ffd88b0bfa45 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sun, 14 May 2023 18:40:17 +0300 Subject: [PATCH] 1 --- hlna.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hlna.py b/hlna.py index b37359f..44f1089 100755 --- a/hlna.py +++ b/hlna.py @@ -393,9 +393,9 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server="" 'path_server': dir_server } ] - if game != "path_server": - print_line("elif game !=") - systemd_unit_create(game) + + systemd_unit_create(game) + with open(path_yaml, 'w') as yamlfile: yaml.dump(settings, yamlfile) print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)