Add more debug info

This commit is contained in:
Nahuel Lofeudo 2023-06-24 06:06:17 +01:00
parent 12cb88ed20
commit b16830020d
1 changed files with 2 additions and 1 deletions

View File

@ -69,8 +69,9 @@ class GTFSClient():
path = gk.Path(path)
if not path.exists():
raise ValueError(f"Path {path} does not exist")
raise ValueError("Path {} does not exist".format(path))
print("Loading GTFS feed {}".format(path), file=sys.stderr)
gc.collect()
feed_dict = {table: None for table in gk.cs.GTFS_REF["table"]}