From 8d856e63263dae9c1fc906bfb356ed1e5d8a1cfe Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Fri, 15 Oct 2021 02:38:18 +0200 Subject: [PATCH] some fixes --- screenless/bureau/publications/publications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index be6f6c0..13fec59 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -155,6 +155,8 @@ class Publications(Bureau): day_count += 1 prn.textln(" - " + period["period"]) prn.image(period["png"]) + prn.close() + prn = self._get_small_printer() prn.ln() prn.textln(period["mintemp"] + " - " + period["maxtemp"] + "°C") if day_count > 4: