some fixes

workspace
Brendan Howell 3 years ago
parent 4d461130c3
commit 8d856e6326

@ -155,6 +155,8 @@ class Publications(Bureau):
day_count += 1 day_count += 1
prn.textln(" - " + period["period"]) prn.textln(" - " + period["period"])
prn.image(period["png"]) prn.image(period["png"])
prn.close()
prn = self._get_small_printer()
prn.ln() prn.ln()
prn.textln(period["mintemp"] + " - " + period["maxtemp"] + "°C") prn.textln(period["mintemp"] + " - " + period["maxtemp"] + "°C")
if day_count > 4: if day_count > 4:

Loading…
Cancel
Save