removed skin server check
This commit is contained in:
parent
aef3b7acad
commit
04d1de1ac8
1 changed files with 0 additions and 7 deletions
|
@ -54,13 +54,6 @@ def mcstatus(inp, say=None):
|
||||||
# change the json from a list of dictionaies to a dictionary
|
# change the json from a list of dictionaies to a dictionary
|
||||||
data = json.loads(request.replace("}", "").replace("{", "").replace("]", "}").replace("[", "{"))
|
data = json.loads(request.replace("}", "").replace("{", "").replace("]", "}").replace("[", "{"))
|
||||||
|
|
||||||
# check if skins are online
|
|
||||||
try:
|
|
||||||
request = http.get("http://s3.amazonaws.com/MinecraftSkins/Shnaw.png")
|
|
||||||
data["minecraft skin server"] = "green"
|
|
||||||
except (http.URLError, http.HTTPError) as e:
|
|
||||||
data["minecraft skin server"] = "red"
|
|
||||||
|
|
||||||
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
|
||||||
for server, status in data.items():
|
for server, status in data.items():
|
||||||
|
|
Reference in a new issue