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)