From 07c51e111f5a06080cf4cb045f6fff86cdbba987 Mon Sep 17 00:00:00 2001 From: terrtia Date: Mon, 8 Jan 2024 14:59:58 +0100 Subject: [PATCH] fix: [tags] debug --- bin/lib/Tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/Tag.py b/bin/lib/Tag.py index 291586b4..9bf8f87c 100755 --- a/bin/lib/Tag.py +++ b/bin/lib/Tag.py @@ -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)