Commit 01cf32cc authored by Jorge Suárez de Lis's avatar Jorge Suárez de Lis 💭
Browse files

Fix checking fot CL temperature in icon generation

parent 414e93f9
......@@ -743,10 +743,12 @@ def update_temperature():
# Forge icon
if(sr_data) and (sr_temperatura_s):
temperatura_s=sr_temperatura_s
elif(sr_data) and (sr_temperatura_s):
elif(cl_data) and (cl_temperatura_s):
temperatura_s=cl_temperatura_s
elif(fc_data) and (fc_temperatura_s):
temperatura_s=fc_temperatura_s
else:
temperatura_s="00.0"
img_point = Image.open("icons/"+theme_prepend+"point.png")
if(sr_data):
img_sr_mode = Image.open(("icons/%s.png" % sr_modo))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment