From 287d45a1bc98645f95835c7f07128c4bd82d934a Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 13 Mar 2021 09:29:05 -0500 Subject: [PATCH] Port/ip-get patched Patched super user in panel_handler --- app/classes/minecraft/stats.py | 7 ------- app/classes/shared/server.py | 2 -- 2 files changed, 9 deletions(-) diff --git a/app/classes/minecraft/stats.py b/app/classes/minecraft/stats.py index 1b52e728..8dc2cbd9 100644 --- a/app/classes/minecraft/stats.py +++ b/app/classes/minecraft/stats.py @@ -168,8 +168,6 @@ class Stats: internal_ip = server_data.get('server-ip', "127.0.0.1") server_port = server_settings.get('server-port', "25565") - print("PORT!!!!!: " + str(server_port)) - logger.debug("Pinging {} on port {}".format(internal_ip, server_port)) int_mc_ping = ping(internal_ip, int(server_port)) @@ -213,11 +211,6 @@ class Stats: internal_ip = server_data.get('server-ip', "127.0.0.1") server_port = server_settings.get('server-port', "25565") - for item in server_data: - if item is not list: - print(str(item)) - print("Server IP: " + internal_ip) - logger.debug("Pinging {} on port {}".format(internal_ip, server_port)) int_mc_ping = ping(internal_ip, int(server_port)) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 2b259a8e..4189bd22 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -48,8 +48,6 @@ class Server: def reload_server_settings(self): server_data = db_helper.get_server_data_by_id(self.server_id) - for item in server_data: - print("ITEM: " + str(item)) self.settings = server_data def do_server_setup(self, server_data_obj):