42Cummer commited on
Commit
db0cec4
·
verified ·
1 Parent(s): 1d7a49e
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -142,6 +142,7 @@ def listVehiclesByRoute():
142
  destination = part
143
  #print(f"{direction} {destination}")
144
 
 
145
  late = delay.split(' ')[-1].lower() == 'behind'
146
  delay_value = delay.split(' ')[0]
147
 
 
142
  destination = part
143
  #print(f"{direction} {destination}")
144
 
145
+ if delay is None: continue
146
  late = delay.split(' ')[-1].lower() == 'behind'
147
  delay_value = delay.split(' ')[0]
148