File tree Expand file tree Collapse file tree
phylesystem_api/phylesystem_api/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,9 +76,7 @@ def fetch_collection(request):
7676 # ADD content-disposition header
7777 response = request .response
7878 response .headers ["Content-Disposition" ] = "attachment; filename={};" .format (preferred_filename )
79- _LOG .debug ("NEW response.headers['Content-Disposition']? " , response .headers ['Content-Disposition' ])
8079 collection_id = collection_id [0 :- 5 ] # trim the '.json' extension and proceed w/ fetch
81- _LOG .debug ("SHORTENED collection_id? " , collection_id )
8280
8381 result = fetch_doc (
8482 request ,
@@ -91,7 +89,6 @@ def fetch_collection(request):
9189 return add_collection_specific_fields (request , collection_id , result )
9290
9391
94-
9592def add_collection_specific_fields (request , collection_id , result ):
9693 collection_json = result ["data" ]
9794 # Add commentHTML to result JSON
You can’t perform that action at this time.
0 commit comments