Update lemonade.py

This commit is contained in:
SpudGunMan
2024-09-20 22:53:45 -07:00
parent 863f8d8630
commit 7c76e3b3a9
+2 -2
View File
@@ -252,7 +252,7 @@ def start_lemonade(nodeID, message, celsius=False):
buffer= ""
# the current week number
buffer += title + "Week #" + str(weeks.current) + " of " + str(weeks.total) + " "
buffer += title + "Week #" + str(weeks.current) + "of" + str(weeks.total)
# Generate a random weather forecast and temperature and display
temperature.forecast = randrange(0, len(forecastd))
@@ -261,7 +261,7 @@ def start_lemonade(nodeID, message, celsius=False):
if (temperature.units == celsius_unit):
formatted = str(round(((temperature.value - 32) * (5/9))))
glyph = chr(forecastd[list(forecastd)[temperature.forecast]][1])
buffer += "wx: " + \
buffer += ". " + \
formatted + temperature.units + " " + \
forecastd[list(forecastd)[temperature.forecast]][2] + \
" " + glyph