diff --git a/tpmcqr_service/api/utils.py b/tpmcqr_service/api/utils.py index 674faff..18a7728 100644 --- a/tpmcqr_service/api/utils.py +++ b/tpmcqr_service/api/utils.py @@ -92,6 +92,8 @@ def estima_llegada(parada_distance, expedicion): salida = math.ceil(estimator/60) trip_info['trip_estimator'] = 'Hace {} minutos'.format(salida) + return trip_info + def obtiene_datos_parada(id_paradero): parada = Paraderos.query.filter(Paraderos.id_paradero==id_paradero).one_or_none()