Skip to content

Commit

Permalink
fix: [retro hunt] fix retro hunt resume
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 17, 2025
1 parent 4ee8e05 commit 9432961
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/trackers/Retro_Hunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ def compute(self, task_uuid):
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')
Expand Down

0 comments on commit 9432961

Please sign in to comment.