Update server.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-03 16:48:54 -08:00
parent 56a9d6ff2d
commit bd77d99eb8

View file

@ -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 = {}