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)