Fix error message
This commit is contained in:
parent
347f1dfa60
commit
2803cfe062
|
@ -72,7 +72,7 @@ class Command(BaseCommand):
|
||||||
continue
|
continue
|
||||||
elif len(route_ids) > 1:
|
elif len(route_ids) > 1:
|
||||||
self.stdout.write(f"Multiple routes found for trip {trip_id}.")
|
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()
|
route_id = route_ids.pop()
|
||||||
|
|
||||||
Calendar.objects.update_or_create(
|
Calendar.objects.update_or_create(
|
||||||
|
|
Loading…
Reference in New Issue