Browse Source

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

feature/query
みてるぞ 1 month ago
parent
commit
e23d919919
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      update_db.py

+ 1
- 1
update_db.py View File

@@ -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)


Loading…
Cancel
Save