Spaces:
Paused
Paused
Update app.py
Browse filesdidnt mean to jsonify twice
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def get_vehicle_locations_and_occupancy(vehicle_numbers):
|
|
| 56 |
'occupancy_status': occ_match.group(1) if occ_match else None
|
| 57 |
})
|
| 58 |
|
| 59 |
-
return
|
| 60 |
|
| 61 |
@app.route('/', methods=['GET'])
|
| 62 |
def health_check():
|
|
|
|
| 56 |
'occupancy_status': occ_match.group(1) if occ_match else None
|
| 57 |
})
|
| 58 |
|
| 59 |
+
return results
|
| 60 |
|
| 61 |
@app.route('/', methods=['GET'])
|
| 62 |
def health_check():
|