From b98291d5b84d9c4e8e88c500c98c4bafc7039c7d Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 3 Jan 2025 17:11:56 -0800 Subject: [PATCH] Update server.py --- server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.py b/server.py index 4205260..6e912b6 100644 --- a/server.py +++ b/server.py @@ -33,7 +33,10 @@ def updateklines(): specifiedip = i.split(" ")[0] specifiedreason = " ".join(i.split(" ")[1:]) banlist[specifiedip] = specifiedreason + print(f"Updated ban list! {banlist}") except: + print("Failed to update banlist...") + print(traceback.format_exc()) banlist = {} with open(sys.argv[1], 'r') as file: data = yaml.safe_load(file)