Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into live
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansherburn committed Aug 14, 2024
2 parents 3399530 + a2aba10 commit 98b0a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion donation/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ def add_pledge_contact_to_ea_newsletter(pledge_id):

@app.task()
def export_spreadsheet(location, queryset, template):
write_spreadsheet(location, {'Donations': queryset}, template)
write_spreadsheet(location, {'Donations': queryset}, template, cleaned=False)
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 98b0a7c

Please sign in to comment.