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:
parent
fc70951dfa
commit
29a4cb74d8
@ -201,6 +201,9 @@ class Wunderground(WeatherBackend):
|
||||
return default
|
||||
else:
|
||||
return default
|
||||
|
||||
if ptr is None:
|
||||
return default
|
||||
return str(ptr)
|
||||
|
||||
pressure_tendency = _find(
|
||||
|
Loading…
Reference in New Issue
Block a user