From e23d9199195110b3089b045893ceef12dc12ccf6 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sat, 12 Oct 2024 22:10:33 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=82=B0=E5=89=8A=E9=99=A4=E3=83=81?= =?UTF-8?q?=E3=82=A7=E3=83=83=E3=82=AF=E3=81=AF=E5=A4=A7=E6=96=87=E5=AD=97?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=8F=9B=E3=81=97=E3=81=A6=E8=A1=8C=E3=81=B5?= =?UTF-8?q?=E3=82=84=E3=81=85=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_db.py b/update_db.py index 0a6ceae..5f43424 100644 --- a/update_db.py +++ b/update_db.py @@ -160,7 +160,7 @@ def update_tables ( for vt in video_tags: tag = tag_dao.find (vt.tag_id) if (tag is not None - and (tag.name not in tag_names) + and (tag.name.upper () not in [tn.upper () for tn in tag_names]) and (tag.id_ is not None)): tag_ids.append (tag.id_) video_tag_dao.untag_all (video.id_, tag_ids, now)