Skip to content

Commit

Permalink
added degree symbol
Browse files Browse the repository at this point in the history
thanks to reddit user /u/rumforbreakfast
  • Loading branch information
DerekCaelin authored May 24, 2021
1 parent c86b2f4 commit 2f1547c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
#icon = 41

#make message
nowTemp = str(currentTemp) + "F"
rangeMessage = str(calendarDayTemperatureMin[0]) + "-" + str(calendarDayTemperatureMax[0]) + "F"
futureMessage = str(tomorrowMin) + "-" + str(tomorrowMax) + "F"
nowTemp = str(currentTemp) + " " + u"\N{DEGREE SIGN}" + "F"
rangeMessage = str(calendarDayTemperatureMin[0]) + "-" + str(calendarDayTemperatureMax[0]) +" "+ u"\N{DEGREE SIGN}" +"F"
futureMessage = str(tomorrowMin) + "-" + str(tomorrowMax) + " " + u"\N{DEGREE SIGN}" + "F"

#draw the standard stuff
draw.rectangle((0,0,212,104),inky_display.BLACK)
Expand Down

0 comments on commit 2f1547c

Please sign in to comment.