Browse Source

show missing graphics in weather

Thomas Buck 1 year ago
parent
commit
0bd1656e68
2 changed files with 3 additions and 0 deletions
  1. BIN
      images/weather_unknown.png
  2. 3
    0
      weather.py

BIN
images/weather_unknown.png View File


+ 3
- 0
weather.py View File

@@ -229,6 +229,9 @@ class WeatherScreen:
229 229
             if d[0] != val:
230 230
                 continue
231 231
 
232
+            if d[2] == None:
233
+                self.descriptions[i] = (d[0], d[1], "weather_unknown.png")
234
+
232 235
             if isinstance(d[2], str):
233 236
                 w = 50
234 237
                 target_size = (w, w)

Loading…
Cancel
Save