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