From 2570ab0cef86f58663b96e41671cf14d9f61d6ac Mon Sep 17 00:00:00 2001 From: Nahuel Lofeudo Date: Sat, 22 Apr 2023 13:14:16 +0100 Subject: [PATCH] Fix name of method call --- gtfs_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtfs_client.py b/gtfs_client.py index 6ab6ef6..c8ef7d0 100644 --- a/gtfs_client.py +++ b/gtfs_client.py @@ -17,7 +17,7 @@ import zipfile class GTFSClient(): GTFS_URL = "https://api.nationaltransport.ie/gtfsr/v2/gtfsr?format=json" - API_KEY = open("api-key.txt").read().trim() + API_KEY = open("api-key.txt").read().strip() def __init__(self, feed_url: str, stop_codes: list[str], update_queue: queue.Queue, update_interval_seconds: int = 60): self.stop_codes = stop_codes