Fix port issue

This commit is contained in:
Andrew 2021-12-09 23:58:35 -05:00
parent 1341730230
commit c59b13bfde

View File

@ -293,7 +293,7 @@ class Server:
loc_server_port = servers_helper.get_server_stats_by_id(self.server_id)['server_port'] loc_server_port = servers_helper.get_server_stats_by_id(self.server_id)['server_port']
port_status = False port_status = False
for i in range(1): for i in range(3):
if helper.check_port(loc_server_port): if helper.check_port(loc_server_port):
port_status = True port_status = True
return return