Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Apr 12, 2024
1 parent 708a140 commit a915a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inciweb_wildfires/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_incidents() -> FeatureCollection:
def convert_coords(deg: str, min: str, sec: str) -> float:
"""Handle the flawed coordinates published by InciWeb."""
if not min.strip():
min = 0
min = '0'
if not sec.strip():
sec = 0
sec = '0'
return float(deg) + (float(min) / 60) + (float(sec) / 3600)

0 comments on commit a915a26

Please sign in to comment.