From 0321a0f3ff34942f977bba9a457fcf3d22369fe1 Mon Sep 17 00:00:00 2001 From: sitisll Date: Tue, 21 Feb 2023 17:00:21 +0300 Subject: [PATCH] =?UTF-8?q?=D1=86=D0=B2=D0=B5=D1=82=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D1=83=D1=89=D0=B5=D0=BD=D0=BD=D1=8B=D1=85?= =?UTF-8?q?=20=D0=B8=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=83=D1=89=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BA=D0=B0=D1=80=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hlna.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hlna.py b/hlna.py index 73800e6..d4a6fb8 100755 --- a/hlna.py +++ b/hlna.py @@ -272,9 +272,9 @@ def servers(map_server=list_config): cluster_server, name_server, port_server, query_port, password_server, max_players, dir_server, mods_id, listen_server, cluster_id, cluster_dir_ovverride = read_yaml(i) x = os.system(f"lsof -w -i :{port_server}") if x == 0: - print("Сервер запущен") + print(colorama.Fore.GREEN + "Сервер запущен" + colorama.Style.RESET_ALL) else: - print("Сервер не запущен") + print(colorama.Fore.RED + "Сервер не запущен" + colorama.Style.RESET_ALL) print(f""" Сервер: {i} Имя сервера: {name_server}