From b16830020d38228d488b176448f2d959f0f9d2d6 Mon Sep 17 00:00:00 2001 From: Nahuel Lofeudo Date: Sat, 24 Jun 2023 06:06:17 +0100 Subject: [PATCH] Add more debug info --- gtfs_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtfs_client.py b/gtfs_client.py index abb570d..6dba869 100644 --- a/gtfs_client.py +++ b/gtfs_client.py @@ -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"]}