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 efb8b2d commit 07c51e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/Tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1473,8 +1473,8 @@ def _fix_tag_obj_id():
print(new_tag)
raw = get_obj_by_tags(obj_type, [new_tag], nb_obj=500000)
for global_id in raw.get('tagged_obj', []):
obj_type, subtype, obj_id = global_id.split(':', 2)
print(global_id)
obj_type, subtype, obj_id = global_id.split(':', 2)
delete_object_tag(tag, obj_type, obj_id, subtype=subtype)
add_object_tag(new_tag, obj_type, obj_id, subtype=subtype)

Expand Down

0 comments on commit 07c51e1

Please sign in to comment.