diff --git a/proposals/utils/pdf_diff_sections.py b/proposals/utils/pdf_diff_sections.py index 60633e0f..b4889e48 100644 --- a/proposals/utils/pdf_diff_sections.py +++ b/proposals/utils/pdf_diff_sections.py @@ -1013,7 +1013,7 @@ def get_all_attachment_sections_diff(self): att_dict = self._get_matches_from_slots(self.old_slots, self.new_slots) - for owner_num in range(len(att_dict)): + for owner_num in att_dict.keys(): proposal = self.new_p if owner_num == 0: owner_obj = proposal