Update server.py
Some checks are pending
Check syntax / check (push) Waiting to run
Some checks are pending
Check syntax / check (push) Waiting to run
This commit is contained in:
parent
56a9d6ff2d
commit
bd77d99eb8
1 changed files with 2 additions and 2 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue