From bd77d99eb86e43d63a1525b62dfaa2f3d67e9b63 Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 3 Jan 2025 16:48:54 -0800 Subject: [PATCH] Update server.py --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 8f70be3..53f631c 100644 --- a/server.py +++ b/server.py @@ -30,8 +30,8 @@ def updateklines(): try: klines = open(data["klinepath"]).read().split("\n") for i in klines: - specifiedip = klines.split(" ")[0] - specifiedreason = " ".join(klines.split(" ")[1:]) + specifiedip = i.split(" ")[0] + specifiedreason = " ".join(i.split(" ")[1:]) banlist[specifiedip] = specifiedreason except: banlist = {}