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:
|
try:
|
||||||
klines = open(data["klinepath"]).read().split("\n")
|
klines = open(data["klinepath"]).read().split("\n")
|
||||||
for i in klines:
|
for i in klines:
|
||||||
specifiedip = klines.split(" ")[0]
|
specifiedip = i.split(" ")[0]
|
||||||
specifiedreason = " ".join(klines.split(" ")[1:])
|
specifiedreason = " ".join(i.split(" ")[1:])
|
||||||
banlist[specifiedip] = specifiedreason
|
banlist[specifiedip] = specifiedreason
|
||||||
except:
|
except:
|
||||||
banlist = {}
|
banlist = {}
|
||||||
|
|
Loading…
Reference in a new issue