|
|
@ -146,8 +146,10 @@ class Publications(Bureau):
|
|
|
|
if period["day"] != current:
|
|
|
|
if period["day"] != current:
|
|
|
|
prn.text(period["day"])
|
|
|
|
prn.text(period["day"])
|
|
|
|
day_count += 1
|
|
|
|
day_count += 1
|
|
|
|
self.print_small_image(period["png"])
|
|
|
|
|
|
|
|
prn.text(" - " + period["period"] + "\r\n")
|
|
|
|
prn.text(" - " + period["period"] + "\r\n")
|
|
|
|
|
|
|
|
prn.close()
|
|
|
|
|
|
|
|
self.print_small_image(period["png"])
|
|
|
|
|
|
|
|
prn = self._get_small_printer()
|
|
|
|
prn.text(period["mintemp"] + " - " + period["maxtemp"] + "°")
|
|
|
|
prn.text(period["mintemp"] + " - " + period["maxtemp"] + "°")
|
|
|
|
if day_count > 3:
|
|
|
|
if day_count > 3:
|
|
|
|
break
|
|
|
|
break
|
|
|
|