increase allowed range for prediction
This commit is contained in:
parent
5604fac1b2
commit
10aeabdb83
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user