Skip to content

Commit e40a34a

Browse files
authored
Merge pull request adafruit#1278 from makermelissa/master
eInk Bonnet Weather Station improvement
2 parents 68a90cf + 7ced0fa commit e40a34a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EInk_Bonnet_Weather_Station/weather_graphics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, display, *, am_pm=True, celsius=True):
5959
self._time_text = None
6060

6161
def display_weather(self, weather):
62-
weather = json.loads(weather)
62+
weather = json.loads(weather.decode("utf-8"))
6363

6464
# set the icon/background
6565
self._weather_icon = ICON_MAP[weather["weather"][0]["icon"]]

0 commit comments

Comments
 (0)