Fix name of method call

This commit is contained in:
Nahuel Lofeudo 2023-04-22 13:14:16 +01:00
parent 4f056714b2
commit 2570ab0cef
1 changed files with 1 additions and 1 deletions

View File

@ -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