Skip to content

Commit b652cd7

Browse files
Biscgitpsaiz
authored andcommitted
Formatting: Formatted utils.py file
1 parent c4fe97a commit b652cd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cernopendata/modules/records/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ def record_file_page(pid, record, page=1, **kwargs):
189189

190190

191191
def _add_experiment_header(render):
192-
"""Decorator for rendering a page and extracting the experiment"""
192+
"""Decorator for rendering a page and adding the experiment as a header to the response."""
193+
193194
def __wrapper(*args, **kwargs):
194195
response = make_response(render(*args, **kwargs))
195196

@@ -207,6 +208,7 @@ def __wrapper(*args, **kwargs):
207208
break
208209

209210
return response
211+
210212
return __wrapper
211213

212214

0 commit comments

Comments
 (0)