Skip to content

Commit

Permalink
fix: [tags] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 8, 2024
1 parent f95d32d commit bfc018f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/lib/Tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def confirm_tag(tag, obj):
# TODO REVIEW ME
def update_tag_global_by_obj_type(tag, obj_type, subtype=''):
tag_deleted = False
if obj_type == 'item':
if obj_type == 'item' or obj_type == 'message':
if not r_tags.exists(f'tag_metadata:{tag}'):
tag_deleted = True
else:
Expand Down Expand Up @@ -1466,6 +1466,7 @@ def get_list_of_solo_tags_to_export_by_type(export_type): # by type

def _fix_tag_obj_id():
for obj_type in ail_core.get_all_objects():
print(obj_type)
for tag in get_all_obj_tags(obj_type):
if ';' in tag:
print(tag)
Expand Down

0 comments on commit bfc018f

Please sign in to comment.