From b622d418b9ad77c3939476039ef9708188877808 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Wed, 19 Oct 2022 21:18:05 +0200 Subject: [PATCH] fix typo --- examples/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mqtt.py b/examples/mqtt.py index 0571892..44a9b7e 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -141,7 +141,7 @@ try: if value_energyImportExport > 0: drawred.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) else: - drawblack.text((150, 30), str(value_energyImportExport) * " W", font = font10, fill = 0) + drawblack.text((150, 30), str(value_energyImportExport) + " W", font = font10, fill = 0) #drawblack.rectangle((150, 45, 220, 50), fill = 255) drawblack.text((150, 45), str(value_houseBatterySoC), font = font10, fill = 0) #drawblack.rectangle((150, 60, 220, 50), fill = 255)