From 0463720e6586cc4d8a082755966b1866e175fc59 Mon Sep 17 00:00:00 2001 From: Giacomo Sarrocco Date: Fri, 29 Sep 2023 00:10:30 +0200 Subject: [PATCH] Initialize service_ids attribute of GTFS as empty --- MuoVErsi/sources/GTFS/source.py | 1 + 1 file changed, 1 insertion(+) diff --git a/MuoVErsi/sources/GTFS/source.py b/MuoVErsi/sources/GTFS/source.py index 56df17e..2d46f60 100644 --- a/MuoVErsi/sources/GTFS/source.py +++ b/MuoVErsi/sources/GTFS/source.py @@ -45,6 +45,7 @@ def __init__(self, transport_type, emoji, session, typesense, gtfs_version=None, super().__init__(transport_type[:3], emoji, session, typesense) self.transport_type = transport_type self.location = location + self.service_ids = {} if gtfs_version: self.gtfs_version = gtfs_version