Fixed tempalte string
This commit is contained in:
parent
20db70d404
commit
8fec41ae33
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue