Give up after 2 missing data points in temperature data

This commit is contained in:
Paul Warren 2022-03-01 19:23:24 +11:00
parent 0fca25da20
commit 10101ba618
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ rows = lounge[2][::-1]
try:
lounge_temp = int(rows[1][0])
except TypeError:
lounge_temp = int(rows[2][0])
try:
lounge_temp = int(rows[2][0])
except TypeError:
lounge_temp = "N"
bom_icons = {
'sunny': 'SUNNY.JPG',