From fdbab1685f7249ee9f7defb037d23e37810216dd Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 13 Dec 2024 13:06:05 -0800 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index b582cdd..32856cc 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -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']