From e11512f458001b9794d41551100d38760bbfc8ae Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 20 Dec 2023 19:47:38 +0100 Subject: [PATCH] 1 ct --- Website/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Website/__init__.py b/Website/__init__.py index 266a535..81bfd0a 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -83,7 +83,7 @@ def create_app(test_config=None): users = c.fetchall() text = "" for i in users: - text = text + f'

{escape(i[1])}: {i[2]/100}€



' + text = text + f'

{escape(i[1])}: {i[2]/100}€



' return ''' @@ -137,7 +137,7 @@ def create_app(test_config=None):

{escape(user[1])} : {escape(user[2]/100)}€

-

+



Tags:

@@ -206,7 +206,6 @@ def create_app(test_config=None): try: user_id = request.form["id"] change = float(request.form["change"]) - print(change) except: return render_template("error.html", error_code="095") c.execute(f"SELECT * FROM users WHERE id=?", [user_id])