Skip to content

Commit 99a7c83

Browse files
author
Nick Shorter
committed
Fixed conditions
1 parent 5dbc884 commit 99a7c83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

matrix/weathermatrix.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def render_icon(self, api: Weather) -> None:
6464
# Snow Class
6565
owm_icon = 600
6666
color: Tuple[int] = (255,255,255)
67+
elif owm_wxcode in range(700, 780):
68+
owm_icon = 711
69+
color: Tuple[int] = (192, 192, 192)
6770
elif owm_wxcode == 800:
6871
# Sunny
6972
if api.get_sunset > datetime.now():

0 commit comments

Comments
 (0)