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)