From 4d5d228b323897b61fb26ecfe4c6825dd6d22ead Mon Sep 17 00:00:00 2001
From: 2000-Trek
Date: Fri, 24 Nov 2023 18:26:54 +0100
Subject: [PATCH] get zu post, wo sinnvoll
---
Website/__init__.py | 42 +++++++++++++++++-----------------
Website/templates/adduser.html | 2 +-
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/Website/__init__.py b/Website/__init__.py
index 34b1b00..0cfcb09 100644
--- a/Website/__init__.py
+++ b/Website/__init__.py
@@ -76,7 +76,7 @@ def create_app(test_config=None):
users = c.fetchall()
text = ""
for i in users:
- text = text + f'{escape(i[1])}: {i[2]}€
'
+ text = text + f'{escape(i[1])}: {i[2]}€
'
return '''
@@ -89,7 +89,7 @@ def create_app(test_config=None):
Strichliste
user and tag list | Documentation
-
+
''' + text + ''
@@ -117,29 +117,29 @@ def create_app(test_config=None):
{escape(user[1])}
user and tag list | Documentation
{escape(user[1])} : {user[2]}€
-
-
-
+
+
+
Tags:
{text}
-
+