From 4afcd9dd800e1618872156afd3eec4d2e22bc19b Mon Sep 17 00:00:00 2001 From: redfast00 Date: Wed, 3 Oct 2018 16:42:32 +0200 Subject: [PATCH] Make it compatible with python 3.5 --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index e378aa6..428fc88 100644 --- a/app/app.py +++ b/app/app.py @@ -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):