LapStore commited on
Commit
6069409
·
1 Parent(s): 036c406

modified api resonse

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,6 +57,6 @@ async def receive_coordinates(payload: CoordinatesPayload,background_tasks: Back
57
  print(f"Signal {tl_id} opened with state {state_}, duration {duration}, delay {delay} ,answer: {answer}")
58
  return {"answer": answer} # temp here
59
  else:
60
- print(f"Request failed with state {state_}, duration {duration}, delay {delay} ,answer: No traffic found found")
61
  return {"answer": "No traffic signals found in database"+str(traffic_lights)}
62
 
 
57
  print(f"Signal {tl_id} opened with state {state_}, duration {duration}, delay {delay} ,answer: {answer}")
58
  return {"answer": answer} # temp here
59
  else:
60
+ print(f"Request failed with coords{coords} state {state_}, duration {duration}, delay {delay} ,answer: No traffic found found")
61
  return {"answer": "No traffic signals found in database"+str(traffic_lights)}
62