From 9432961465dabeccc59c795d3fd951ccbf0e4cc0 Mon Sep 17 00:00:00 2001 From: terrtia Date: Fri, 17 Jan 2025 10:23:34 +0100 Subject: [PATCH] fix: [retro hunt] fix retro hunt resume --- bin/trackers/Retro_Hunt.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/trackers/Retro_Hunt.py b/bin/trackers/Retro_Hunt.py index b50fb849..548b105d 100755 --- a/bin/trackers/Retro_Hunt.py +++ b/bin/trackers/Retro_Hunt.py @@ -80,10 +80,11 @@ class Retro_Hunt_Module(AbstractModule): self.nb_done = 0 self.update_progress() + if last_obj_type: + filters['start'] = f'{last_obj_subtype}:{last_obj_id}' + last_obj_type = None + for obj_type in filters: - if last_obj_type: - filters['start'] = f'{last_obj_subtype}:{last_obj_id}' - last_obj_type = None for obj in ail_objects.obj_iterator(obj_type, filters): self.obj = obj content = obj.get_content(r_type='bytes')