@@ -184,13 +184,13 @@ def _uniformize_sir(slot):
184
184
'service_type' : slot ['arrival_service_type' ],
185
185
'days_of_operation' : slot ['days_of_operation' ],
186
186
'frequency_rate' : slot ['frequency_rate' ],
187
- 'number_of_seats ' : slot ['number_of_seats ' ],
187
+ 'seats ' : slot ['seats ' ],
188
188
'second_station' : slot ['origin_station' ],
189
189
'period_of_operation_from' : slot ['period_of_operation_from' ],
190
190
'period_of_operation_to' : slot ['period_of_operation_to' ],
191
191
'station' : slot ['previous_station' ],
192
192
'raw' : slot ['raw' ],
193
- 'scheduled_time' : slot ['scheduled_time_of_arrival ' ]})
193
+ 'scheduled_time' : slot ['scheduled_time_of_arrival_utc ' ]})
194
194
195
195
if 'departure_airline_designator' in slot :
196
196
uniform_slots .append ({
@@ -206,11 +206,11 @@ def _uniformize_sir(slot):
206
206
'second_station' : slot ['destination_station' ],
207
207
'frequency_rate' : slot ['frequency_rate' ],
208
208
'station' : slot ['next_station' ],
209
- 'number_of_seats ' : slot ['number_of_seats ' ],
209
+ 'seats ' : slot ['seats ' ],
210
210
'period_of_operation_from' : slot ['period_of_operation_from' ],
211
211
'period_of_operation_to' : slot ['period_of_operation_to' ],
212
212
'raw' : slot ['raw' ],
213
- 'scheduled_time' : slot ['scheduled_time_of_departure ' ]})
213
+ 'scheduled_time' : slot ['scheduled_time_of_departure_utc ' ]})
214
214
215
215
return uniform_slots
216
216
@@ -456,4 +456,4 @@ def _explode_aircraft_configuration_string(aircraft_configuration_string: str, r
456
456
log_text += '\n Raw slot line: ' + raw_line
457
457
logging .warning (log_text )
458
458
459
- return acv_info
459
+ return acv_info
0 commit comments