Skip to content

Commit e6ac6be

Browse files
author
amswak
authored
Update aws_gfx_helper.py
display was not updating Fahrenheit temperature due to missing .text
1 parent a9386e3 commit e6ac6be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyPortal_AWS_IOT_Planter/aws_gfx_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def show_temp(self, temp_data):
106106
self.temp_data_label.color = 0xFD2EE
107107
elif temp_data <= 32:
108108
self.temp_data_label.color = 0xFF0000
109-
self.temp_data_label = '%0.0f°F'%temp_data
109+
self.temp_data_label.text = '%0.0f°F'%temp_data
110110
temp_data = '%0.0f'%temp_data
111111
return int(temp_data)
112112
else:

0 commit comments

Comments
 (0)