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 17, 2021
1 parent e815c20 commit 1e71098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def update_mareo_data():
sealevel_tuple_list = []
for n in range(len(root_mareo)):
try:
if root_mareo[n][0][2].text == 'SeaLevel':
if root_mareo[n][0][2].text.startswith('SeaLevel'):
tuple_to_add = (root_mareo[n][0][1].text, root_mareo[n][0][3].text)
sealevel_tuple_list.append(tuple_to_add)
else:
Expand Down

0 comments on commit 1e71098

Please sign in to comment.