Skip to content

Commit

Permalink
Fix crash when omitting pagebreaks between badges
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagander committed Dec 8, 2023
1 parent 4c56f19 commit 2a91f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresqleu/confreg/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def build_attendee_report(self, request, data):
orientation = data['orientation']
pagesize = data.get('pagesize', 'A4')
borders = data.get('border', None) == "on"
pagebreaks = data['pagebreaks']
pagebreaks = data.get('pagebreaks', None) == 'on'
extracols = [_f for _f in [x.strip() for x in data['additionalcols'].split(',')] if _f]
ofields = [self.fieldmap[f] for f in (data['orderby1'], data['orderby2'])]

Expand Down

0 comments on commit 2a91f8c

Please sign in to comment.