removed test server from minecraft_status
This commit is contained in:
parent
a44e0bb7bf
commit
059024cb61
1 changed files with 2 additions and 1 deletions
|
@ -15,9 +15,10 @@ def mcstatus(inp):
|
||||||
data = json.loads(request.replace("}", "").replace("{", "").replace("]", "}").replace("[", "{"))
|
data = json.loads(request.replace("}", "").replace("{", "").replace("]", "}").replace("[", "{"))
|
||||||
|
|
||||||
out = []
|
out = []
|
||||||
|
|
||||||
# use a loop so we don't have to update it if they add more servers
|
# use a loop so we don't have to update it if they add more servers
|
||||||
yes = []
|
yes = []
|
||||||
no = ['luke']
|
no = []
|
||||||
for server, status in data.items():
|
for server, status in data.items():
|
||||||
if status == "green":
|
if status == "green":
|
||||||
yes.append(server)
|
yes.append(server)
|
||||||
|
|
Reference in a new issue