Skip to content

Commit

Permalink
correct link for exporting data
Browse files Browse the repository at this point in the history
  • Loading branch information
drkane committed Dec 4, 2023
1 parent dbc0522 commit 762ddb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charity/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def export_to_sqlite(geoarea, geocode):


def export_data(request, geoarea, geocode, filetype="xlsx"):
geoarea = GEOAREAS.get(geoarea.lower(), "geo_laua")
s3_file_url = "https://findthatcharity.ams3.cdn.digitaloceanspaces.com/findthatcharity/data/{geoarea}/{geocode}.{filetype}".format(
geoarea=geoarea, geocode=geocode, filetype=filetype
)
Expand Down

0 comments on commit 762ddb6

Please sign in to comment.