Skip to content

Commit

Permalink
Fix sea level parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tdragon committed Jun 19, 2021
1 parent e815c20 commit 218891c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ def update_mareo_data():
tuple_to_add = (root_mareo[n][0][1].text, root_mareo[n][0][3].text)
sealevel_tuple_list.append(tuple_to_add)
else:
_LOGGER.debug("Sealevel forecast record mismatch - aborting query!")
break
_LOGGER.debug("Sealevel forecast unsupported record: %s", root_mareo[n][0][2].text)
continue
except:
_LOGGER.debug(f"Sealevel forecast records not in expected format for index - {n} of locstring - {loc_string}")

Expand Down

0 comments on commit 218891c

Please sign in to comment.