Skip to content

Commit

Permalink
testing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansurf committed May 26, 2024
1 parent 0a78330 commit ef03360
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def main(lat=lat, long=long):
"""
Main function
"""
lat = float(lat)
long = float(long)
data = gather_data(lat, long)
ocean_data = data[0]
uv_index = data[1]
Expand All @@ -118,5 +120,5 @@ def main(lat=lat, long=long):
print(json_output)
return json_output


main(lat, long)
if __name__ == "__main__":
main(lat, long)

0 comments on commit ef03360

Please sign in to comment.