From 2803cfe06281a535d9ab0ae217cd210983d8b437 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sat, 10 Feb 2024 20:35:55 +0100 Subject: [PATCH] Fix error message --- sncfgtfs/management/commands/update_sncf_gtfs_rt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sncfgtfs/management/commands/update_sncf_gtfs_rt.py b/sncfgtfs/management/commands/update_sncf_gtfs_rt.py index dba5c01..7830feb 100644 --- a/sncfgtfs/management/commands/update_sncf_gtfs_rt.py +++ b/sncfgtfs/management/commands/update_sncf_gtfs_rt.py @@ -72,7 +72,7 @@ class Command(BaseCommand): continue elif len(route_ids) > 1: self.stdout.write(f"Multiple routes found for trip {trip_id}.") - self.stderr.write(", ".join(route_ids)) + self.stdout.write(", ".join(route_ids)) route_id = route_ids.pop() Calendar.objects.update_or_create(