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
|
from datetime import datetime
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
@app.route('/sms', methods=['GET'])
|
@app.route('/sms', methods=['GET'])
|
||||||
def sms():
|
def sms():
|
||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
@ -29,7 +28,7 @@ def sms():
|
|||||||
|
|
||||||
@app.route('/submit', methods=['POST', 'GET'])
|
@app.route('/submit', methods=['POST', 'GET'])
|
||||||
def submit():
|
def submit():
|
||||||
PREDICTTIMERANGE = 60 * 80
|
PREDICTTIMERANGE = 60 * 60 * 24
|
||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
return render_template('submit.html')
|
return render_template('submit.html')
|
||||||
elif request.method == 'POST':
|
elif request.method == 'POST':
|
||||||
|
Loading…
Reference in New Issue
Block a user