Identify stoptimes with departure time to ensure beeing unique
This commit is contained in:
parent
e4bcf9bd2e
commit
28faf5ad10
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue