From 8fec41ae33f709101fb592ade22dca36f9f59aac Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Tue, 17 Oct 2023 00:36:34 +0200 Subject: [PATCH] Fixed tempalte string --- src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index 57c2b51..de00931 100644 --- a/src/main.py +++ b/src/main.py @@ -78,7 +78,7 @@ async def temperature(): should_run_time_loop = False - matrix_display.show_text("{0:0.1f}°C".format(measurements["temperature"])) + matrix_display.show_text("{0:0.1f}*C".format(measurements["temperature"])) if was_clock_runnign: should_run_time_loop = True @@ -99,7 +99,7 @@ async def humidity(): should_run_time_loop = False - matrix_display.show_text("{1:0.1f}%".format(measurements["humidity"])) + matrix_display.show_text("{0:0.1f}%".format(measurements["humidity"])) if was_clock_runnign: should_run_time_loop = True