Update aws_gfx_helper.py
display was not updating Fahrenheit temperature due to missing .text
This commit is contained in:
parent
a9386e33ac
commit
e6ac6beb4a
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class AWS_GFX(displayio.Group):
|
|||
self.temp_data_label.color = 0xFD2EE
|
||||
elif temp_data <= 32:
|
||||
self.temp_data_label.color = 0xFF0000
|
||||
self.temp_data_label = '%0.0f°F'%temp_data
|
||||
self.temp_data_label.text = '%0.0f°F'%temp_data
|
||||
temp_data = '%0.0f'%temp_data
|
||||
return int(temp_data)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue