This commit is contained in:
Евгений Храмов 2023-05-13 18:41:58 +03:00
parent cad5cc5bb1
commit c8dd169d72

@ -509,7 +509,7 @@ def start_stop(action, g, m, b, list_config=list_config):
for ns, v in dict_mapname.items():
if v in m:
names_serverstart.append(ns)
if list_config: #Перенести выше для проверки наличия конфигов
if list_config != []: #Перенести выше для проверки наличия конфигов
if b == '':
if m == "all":
names_serverstart = dict_allmapname
@ -564,7 +564,6 @@ def rcon(m, c):
print_line(f"Карты: , {m}")
dict_mapname = {}
dict_adminpwd = {}
print(list_config)
if list_config:
rcon_ports = []
for i in list_config:
@ -580,7 +579,6 @@ def rcon(m, c):
if name_map in m:
rcon_ports.append(rcon_p)
print_line(f"Карта которая запускается {name_map}")
print(rcon_ports)
for port in rcon_ports:
print(f"Rcon выполнен для {port}")
passwd = dict_adminpwd[port]