From 2c32e38ff74365b745cf35a87f8a6b83209d9fda Mon Sep 17 00:00:00 2001 From: Eunhak Lee <lee@enak.kr> Date: Wed, 4 Dec 2024 20:28:28 +0900 Subject: [PATCH] hotfix: do not fetch after not returning query --- push_to_db.py | 1 - 1 file changed, 1 deletion(-) diff --git a/push_to_db.py b/push_to_db.py index 2a02dde..8435b84 100644 --- a/push_to_db.py +++ b/push_to_db.py @@ -109,7 +109,6 @@ def match_part_obj_into_db(_part, part_type): def finalize_transaction(_cursor, _transaction_id, _user_id, _combination_id): _cursor.execute("INSERT INTO transactions (id, user_id, combination_id) VALUES (%s, %s, %s);", (_transaction_id, _user_id, _combination_id)) - _cursor.fetchall() def func(): -- GitLab