From 2f32a8a4cb82caacc397108277290172ff57936b Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 14 Jun 2023 22:21:00 +0200 Subject: [PATCH] typo --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 992a995..a46c30d 100644 --- a/main.py +++ b/main.py @@ -112,7 +112,7 @@ def remove_user(): @app.route("/adduser/user", methods=['GET']) def adduser(): user = request.args.get("username") - c.execute(f"SELECT * FROM users WHERE username=%(user)s", {'user' : user}) + c.execute("SELECT * FROM users WHERE username=%(user)s", {'user' : user}) if c.fetchall() == []: c.execute("INSERT or IGNORE INTO users (username, balance) VALUES ('%(user)s', 0)", {'user' : user} ) conn.commit()