From c8026accece0d926cbff5cb39443ddca17bb8d1a Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Tue, 18 Oct 2022 22:34:41 +0200 Subject: [PATCH] f --- examples/epd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/epd.py b/examples/epd.py index c85ed81..19a1ce4 100644 --- a/examples/epd.py +++ b/examples/epd.py @@ -57,7 +57,7 @@ def subscribe(client: mqtt_client): HRYimage = Image.new('1', (epd.height, epd.width), 255) # 298*126 ryimage: red or yellow image drawblack = ImageDraw.Draw(HBlackimage) drawry = ImageDraw.Draw(HRYimage) - drawblack.text((10, 0), 'Received '+ msg.payload.decode()' from topic', font = font20, fill = 0) + drawblack.text((10, 0), msg.payload.decode(), font = font20, fill = 0) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage)) time.sleep(2)