From be4feb7799ea9d6552adc6f1abff420e4a0e4d08 Mon Sep 17 00:00:00 2001 From: terrtia Date: Mon, 8 Jan 2024 15:28:31 +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 d9f7896a..d16bcbb2 100755 --- a/bin/lib/Tag.py +++ b/bin/lib/Tag.py @@ -1473,7 +1473,7 @@ def _fix_tag_obj_id(date_from): print(tag) new_tag = tag.split(';')[0] print(new_tag) - raw = get_obj_by_tags(obj_type, [new_tag], nb_obj=500000, date_from=date_from, date_to=date_to) + raw = get_obj_by_tags(obj_type, [tag], nb_obj=500000, date_from=date_from, date_to=date_to) for obj_id in raw.get('tagged_obj', []): # print(obj_id) delete_object_tag(tag, obj_type, obj_id)