タグ削除チェックは大文字に変換して行ふやぅ修正

このコミットが含まれているのは:
2024-10-12 22:10:33 +09:00
コミット e23d919919
+1 -1
ファイルの表示
@@ -160,7 +160,7 @@ def update_tables (
for vt in video_tags: for vt in video_tags:
tag = tag_dao.find (vt.tag_id) tag = tag_dao.find (vt.tag_id)
if (tag is not None 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)): and (tag.id_ is not None)):
tag_ids.append (tag.id_) tag_ids.append (tag.id_)
video_tag_dao.untag_all (video.id_, tag_ids, now) video_tag_dao.untag_all (video.id_, tag_ids, now)