From 62edc1fb2708ba6c36807d9954242b1d6fa3a334 Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sun, 8 Dec 2024 20:03:55 -0800 Subject: [PATCH] add verbose to config loading --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 99c4206..10800c7 100644 --- a/server.py +++ b/server.py @@ -16,6 +16,7 @@ with open(sys.argv[1], 'r') as file: try: displayname = data["name"] except: print("using fallback display name") file.close() + print("Successfully loaded config!") ip = get('https://api.ipify.org').content.decode('utf8') tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)