aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index b136290..31414c3 100644
--- a/main.py
+++ b/main.py
@@ -41,7 +41,7 @@ def get_location(address: str) -> tuple[float, float]:
return (result.latitude, result.longitude)
-def get_latest_data() -> Tuple[pd.DataFrame, Optional[str]]:
+def get_latest_data() -> tuple[pd.DataFrame, Optional[str]]:
response = requests.get(ENDPOINT, headers=HEADERS, timeout=10)
response.raise_for_status()
return pd.read_csv(StringIO(response.text)), response.headers.get("Last-Modified")
git.ajschof.me — hosted by ajschofield — powered by cgit