From bfbdc60b3107e61577762e42c5386c2bf6d8ed4c Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Sun, 4 Oct 2020 10:31:09 -0500 Subject: [PATCH] wunderground: Switch value used for weather condition name (#793) `wxPhraseShort` ends up being abbreviated a lot. `wxPhraseMedium` is equivalent to how wunderground worked before the recent rewrite. I just ended up missing this during the rewrite. --- i3pystatus/weather/wunderground.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/weather/wunderground.py b/i3pystatus/weather/wunderground.py index 0250f58..3a36332 100644 --- a/i3pystatus/weather/wunderground.py +++ b/i3pystatus/weather/wunderground.py @@ -206,7 +206,7 @@ class Wunderground(WeatherBackend): pressure_trend = '+' if pressure_tendency == 'rising' else '-' self.data['city'] = _find('v3-location-point:location:city', overview) - self.data['condition'] = _find('v3-wx-observations-current:wxPhraseShort', overview) + self.data['condition'] = _find('v3-wx-observations-current:wxPhraseMedium', overview) self.data['observation_time'] = observation_time self.data['current_temp'] = _find('units:temp', observation, '0') self.data['low_temp'] = _find('units:tempLow', summary)