We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68a90cf + 7ced0fa commit e40a34aCopy full SHA for e40a34a
EInk_Bonnet_Weather_Station/weather_graphics.py
@@ -59,7 +59,7 @@ def __init__(self, display, *, am_pm=True, celsius=True):
59
self._time_text = None
60
61
def display_weather(self, weather):
62
- weather = json.loads(weather)
+ weather = json.loads(weather.decode("utf-8"))
63
64
# set the icon/background
65
self._weather_icon = ICON_MAP[weather["weather"][0]["icon"]]
0 commit comments