From 10aeabdb834adcce641813d325905489034dd838 Mon Sep 17 00:00:00 2001 From: fram3d Date: Thu, 5 Oct 2023 02:29:39 +0200 Subject: [PATCH] increase allowed range for prediction --- freeriders/routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freeriders/routes.py b/freeriders/routes.py index c3d3a3b..f36398a 100644 --- a/freeriders/routes.py +++ b/freeriders/routes.py @@ -5,7 +5,6 @@ from freeriders.models import Tickets from datetime import datetime import time - @app.route('/sms', methods=['GET']) def sms(): if request.method == 'GET': @@ -29,7 +28,7 @@ def sms(): @app.route('/submit', methods=['POST', 'GET']) def submit(): - PREDICTTIMERANGE = 60 * 80 + PREDICTTIMERANGE = 60 * 60 * 24 if request.method == 'GET': return render_template('submit.html') elif request.method == 'POST':