more weather tweaks

workspace
Brendan Howell 3 years ago
parent 6dcdca3fea
commit 23a4765a9e

@ -154,8 +154,9 @@ class Publications(Bureau):
if period["day"] != current: if period["day"] != current:
day_count += 1 day_count += 1
prn.textln(" - " + period["period"]) prn.textln(" - " + period["period"])
prn.image(period["png"])
prn.textln(str(period["mintemp"]) + " - " + str(period["maxtemp"]) + "°C") prn.textln(str(period["mintemp"]) + " - " + str(period["maxtemp"]) + "°C")
prn.image(period["png"])
prn.ln()
if day_count > 4: if day_count > 4:
break break
prn.ln() prn.ln()

Loading…
Cancel
Save