From c7fcd33a6bbbaaf2c066a5a4f9e0c95740ff6787 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 23 Jun 2023 22:35:58 +0200 Subject: [PATCH] /change except --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2a26457..bba4610 100644 --- a/main.py +++ b/main.py @@ -153,7 +153,7 @@ def change(): try: user_id = int(request.args.get("id")) change = int(request.args.get("change")) - except ValueError: + except: return '

Error: 095

tags and user list' c.execute(f"SELECT * FROM users WHERE id={user_id}") users = c.fetchall()