print в yaml_create
This commit is contained in:
parent
6ac7bfe69b
commit
bd1403f4a8
2
hlna.py
2
hlna.py
@ -403,7 +403,7 @@ def yaml_create(game, dir_server="", cluster_server="", map_s="", name_server=""
|
|||||||
|
|
||||||
with open(path_yaml, 'w') as yamlfile:
|
with open(path_yaml, 'w') as yamlfile:
|
||||||
yaml.dump(settings, yamlfile)
|
yaml.dump(settings, yamlfile)
|
||||||
print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)
|
print(colorama.Fore.GREEN + f"Конфиг {path_yaml} создан" + colorama.Style.RESET_ALL)
|
||||||
if game != "path_server":
|
if game != "path_server":
|
||||||
systemd_unit_create(game)
|
systemd_unit_create(game)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user