Skip to content

Commit

Permalink
Add cleaned=False as default value for write_spreadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansherburn committed Aug 14, 2024
1 parent 6faab4c commit a2aba10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donation/views/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def download_spreadsheet(request, extra_fields=None):
return response


def write_spreadsheet(location, querysets, template, cleaned):
def write_spreadsheet(location, querysets, template, cleaned=False):
with xlsxwriter.Workbook(location, {'default_date_format': 'dd mmm yyyy'}) as wb:
for name, queryset in querysets.iteritems():
ws = wb.add_worksheet(name=name)
Expand Down

0 comments on commit a2aba10

Please sign in to comment.