Skip to content

Commit

Permalink
fix: We can't assume all owners are represented in att_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
miggol committed Jan 8, 2025
1 parent a11756d commit 1a1b913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/utils/pdf_diff_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a1b913

Please sign in to comment.