forked from mirrors/bookwyrm
Add docstring
This commit is contained in:
parent
b9265bdd29
commit
b03b6f6d6f
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ def get_annual_summary_year():
|
|||
|
||||
|
||||
def privacy_verification(request, user, year, year_key):
|
||||
"""raises a 404 error if the user should not access the page"""
|
||||
if user != request.user:
|
||||
request_key = None
|
||||
if "key" in request.GET:
|
||||
|
|
Loading…
Reference in a new issue