Skip to content

Commit a4ed51b

Browse files
committed
typo
1 parent 973dc40 commit a4ed51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

phylesystem_api/phylesystem_api/views/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def fetch_collection(request):
8080
#_LOG.debug("response.headers? ", response.headers)
8181
#_LOG.debug("OLD response.headers['Content-Disposition']? ", response.headers['Content-Disposition'])
8282
#response.content_disposition('attachment; filename={}.json;'.format(preferred_filename))
83-
request.response.headers["Content-Disposition"] = "attachment; filename={}.json;".format(preferred_filename)
83+
request.response.headers["Content-Disposition"] = "attachment; filename={};".format(preferred_filename)
8484
_LOG.debug("NEW response.headers['Content-Disposition']? ", response.headers['Content-Disposition'])
8585
collection_id = collection_id[0:-5] # trim the '.json' extension and proceed w/ fetch
8686
_LOG.debug("NEW collection_id? ", collection_id)

0 commit comments

Comments
 (0)