fix
This commit is contained in:
parent
9c2398bc40
commit
7e2883bd03
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ from jinja2 import TemplateNotFound
|
|||
from wotstats.openid import oid
|
||||
from wotstats.database import db
|
||||
from wotstats.models import *
|
||||
from wotstats.tasks import get_stats
|
||||
# from wotstats.tasks import get_stats
|
||||
|
||||
pages_home = Blueprint('pages_home', __name__, template_folder='templates')
|
||||
|
||||
|
@ -65,7 +65,7 @@ def create_profile():
|
|||
|
||||
|
||||
@pages_home.route('/create-profile', methods=['POST'])
|
||||
def create_profile():
|
||||
def create_profile_post():
|
||||
if g.user is not None or 'openid' not in session:
|
||||
return redirect(url_for('pages_home.index'))
|
||||
|
||||
|
|
Reference in a new issue