mirror of
https://gitea.dmz.rs/Decentrala/freeriders.git
synced 2026-07-11 05:52:28 +02:00
increase allowed range for prediction
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user