diff --git a/hlna.py b/hlna.py index 44f1089..53433e2 100755 --- a/hlna.py +++ b/hlna.py @@ -394,11 +394,11 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server="" } ] - systemd_unit_create(game) - with open(path_yaml, 'w') as yamlfile: yaml.dump(settings, yamlfile) print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL) + systemd_unit_create(game) + def systemd_unit_create(game, config_7days="", name_server=list_config): print_line(systemd_unit_create)