diff --git a/main.py b/main.py index dcc4993..9e5c43f 100644 --- a/main.py +++ b/main.py @@ -66,7 +66,7 @@ def new_user(): @app.route("/removeuser", methods=['GET']) def remove_user(): - user_id = request.args.get("id") + user_id = '%s' % request.args.get("id") c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig? c.execute(f"DELETE * FROM users WHERE (id={user_id})") conn.commit()