Fix name of method call

This commit is contained in:
2023-04-22 13:14:16 +01:00
parent 4f056714b2
commit 2570ab0cef
+1 -1
View File
@@ -17,7 +17,7 @@ import zipfile
class GTFSClient(): class GTFSClient():
GTFS_URL = "https://api.nationaltransport.ie/gtfsr/v2/gtfsr?format=json" 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): def __init__(self, feed_url: str, stop_codes: list[str], update_queue: queue.Queue, update_interval_seconds: int = 60):
self.stop_codes = stop_codes self.stop_codes = stop_codes