Identify stoptimes with departure time to ensure beeing unique

This commit is contained in:
2024-02-10 20:16:47 +01:00
parent e4bcf9bd2e
commit 28faf5ad10

View File

@ -326,7 +326,7 @@ class Command(BaseCommand):
pickup_type = 1
st = StopTime(
id=f"{trip_id}-{stop_id}",
id=f"{trip_id}-{stop_id}-{stop_time_dict['departure_time']}",
trip_id=trip_id,
arrival_time=timedelta(seconds=arr_time),
departure_time=timedelta(seconds=dep_time),