From 07425dc54eced88669b248b50505f9e53d3dc289 Mon Sep 17 00:00:00 2001 From: Eunhak Lee <lee@enak.kr> Date: Mon, 9 Dec 2024 13:38:06 +0900 Subject: [PATCH] hotfix: logital error on combination id finding --- push_to_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push_to_db.py b/push_to_db.py index 7aebcf6..e88a39f 100644 --- a/push_to_db.py +++ b/push_to_db.py @@ -219,7 +219,7 @@ def func(): logger.info("Combination exist. Using combination id={}".format(_combination_id)) # 새로 추가하는 경우 - if _combination_id is not None: + if _combination_id is None: logger.info("Creating combination") with db_conn.cursor() as cursor: _combination_id = create_combination(cursor, None, _user_id) -- GitLab