From 4b7373a55b04a58705cfc6924d7c92ab7d334d17 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 25 Jun 2024 12:53:54 -0700 Subject: [PATCH] typo --- locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locationdata.py b/locationdata.py index 32340e8..0f87284 100644 --- a/locationdata.py +++ b/locationdata.py @@ -39,7 +39,7 @@ def get_tide(lat=0, lon=0): return "error fetching station data" station_url = "https://tidesandcurrents.noaa.gov/noaatidepredictions.html?id=" + station_id - station_data = requests.get(station_url, URL_TIMEOUT=10) + station_data = requests.get(station_url, timeout=URL_TIMEOUT=10) if(station_data.ok): #extract table class="table table-condensed" soup = bs.BeautifulSoup(station_data.text, 'html.parser')