Make it compatible with python 3.5
This commit is contained in:
parent
488eb7f275
commit
4afcd9dd80
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ from app import models
|
||||||
@app.route('/', methods=['GET'])
|
@app.route('/', methods=['GET'])
|
||||||
def hello_world():
|
def hello_world():
|
||||||
message = "It's aliiiiiiiiiiiiiiiiiiiiiive!\n"
|
message = "It's aliiiiiiiiiiiiiiiiiiiiiive!\n"
|
||||||
message += f"There are {models.User.query.count()} users in the database."
|
message += "There are {} users in the database.\n".format(models.User.query.count())
|
||||||
return message
|
return message
|
||||||
|
|
||||||
def check_regular(username):
|
def check_regular(username):
|
||||||
|
|
Loading…
Reference in a new issue