1
0
mirror of https://github.com/balkian/gists.git synced 2024-12-23 06:48:13 +00:00
This commit is contained in:
J. Fernando Sánchez 2015-09-19 14:17:57 +02:00
parent f7c346463b
commit 32627f8dd7

View File

@ -18,6 +18,7 @@ for i in resp.json()["answer"]["availability"]:
for j in i["metaZones"]:
if j["availability"] not in ["unavaible", "unknown"]:
print(j["zone"], j["availability"])
tkm.showinfo(title="Greetings", message="%s: %s - %s!" % (i["reference"],
j["zone"],
j["availability"]))
tkm.showinfo(title="Greetings",
message="%s: %s - %s!" % (i["reference"],
j["zone"],
j["availability"]))