From 00f6302150b42de030e88bbcd4a3566f7220e3b2 Mon Sep 17 00:00:00 2001
From: 2000-Trek
Date: Wed, 14 Jun 2023 21:13:03 +0200
Subject: [PATCH] fixed vars in the script of /user r
---
main.py | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/main.py b/main.py
index 0b58af2..416aee8 100644
--- a/main.py
+++ b/main.py
@@ -68,22 +68,19 @@ def user_info():
text = ""
for tag in tags:
text = text + f"{tag[0]}
"
- return """
+ return f"""
+ """ + 'socket.on("update", function(){ window.location="http://matekasse.server.c3h/list/user?user=' + username + '"});' + """
\{user[1]} : \{user[2]}
-
-
-
+
+
+
Tags:
- \{text}
+ {text}