increase allowed range for prediction

This commit is contained in:
fram3d 2023-10-05 02:29:39 +02:00
parent 5604fac1b2
commit 10aeabdb83
Signed by: fram3d
GPG Key ID: 938920E709EEA32A

View File

@ -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':