Make it compatible with python 3.5

This commit is contained in:
redfast00 2018-10-03 16:42:32 +02:00
parent 488eb7f275
commit 4afcd9dd80
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -19,7 +19,7 @@ from app import models
@app.route('/', methods=['GET'])
def hello_world():
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
def check_regular(username):