Skip to content

Commit 9432961

Browse files
committed
fix: [retro hunt] fix retro hunt resume
1 parent 4ee8e05 commit 9432961

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/trackers/Retro_Hunt.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ def compute(self, task_uuid):
8080
self.nb_done = 0
8181
self.update_progress()
8282

83+
if last_obj_type:
84+
filters['start'] = f'{last_obj_subtype}:{last_obj_id}'
85+
last_obj_type = None
86+
8387
for obj_type in filters:
84-
if last_obj_type:
85-
filters['start'] = f'{last_obj_subtype}:{last_obj_id}'
86-
last_obj_type = None
8788
for obj in ail_objects.obj_iterator(obj_type, filters):
8889
self.obj = obj
8990
content = obj.get_content(r_type='bytes')

0 commit comments

Comments
 (0)