From 4d5c3f002bdccc92f3a4c08839e78bb1ddcbb430 Mon Sep 17 00:00:00 2001 From: terrtia Date: Fri, 17 Jan 2025 14:40:37 +0100 Subject: [PATCH] fix: [retro hunt] fix item iterator --- bin/lib/objects/Items.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/lib/objects/Items.py b/bin/lib/objects/Items.py index a55fd631..275e81e3 100755 --- a/bin/lib/objects/Items.py +++ b/bin/lib/objects/Items.py @@ -526,7 +526,8 @@ def get_all_items_objects(filters={}): start_id = None i += 1 for obj_id in all_items: - yield Item(obj_id) + if obj_id: + yield Item(obj_id) ################################################################################ ################################################################################