Skip to content

Commit

Permalink
Update locationdata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SpudGunMan committed Dec 13, 2024
1 parent ed0940b commit fdbab16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/locationdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_tide(lat=0, lon=0):

if station_json['stationList'] == [] or station_json['stationList'] is None:
logger.error("Location:No tide station found")
return ERROR_FETCHING_DATA
return "No tide station found with info provided"

station_id = station_json['stationList'][0]['stationId']

Expand Down

0 comments on commit fdbab16

Please sign in to comment.