i3pystatus.weather.wunderground: Fix regression in high temp (#832)

In the afternoon this value becomes null. Set it to an empty string when
the null value is encountered.
This commit is contained in:
Erik Johnson 2021-12-17 16:23:40 -06:00 committed by GitHub
parent fc70951dfa
commit 29a4cb74d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,6 +201,9 @@ class Wunderground(WeatherBackend):
return default
else:
return default
if ptr is None:
return default
return str(ptr)
pressure_tendency = _find(