diff --git a/i3pystatus/weather/wunderground.py b/i3pystatus/weather/wunderground.py index e9d75ff..a4112b2 100644 --- a/i3pystatus/weather/wunderground.py +++ b/i3pystatus/weather/wunderground.py @@ -201,6 +201,9 @@ class Wunderground(WeatherBackend): return default else: return default + + if ptr is None: + return default return str(ptr) pressure_tendency = _find(