From b03b6f6d6f0d0331227b016b41ecb71253d3064f Mon Sep 17 00:00:00 2001 From: Joachim Date: Wed, 22 Dec 2021 17:14:21 +0100 Subject: [PATCH] Add docstring --- bookwyrm/views/annual_summary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/views/annual_summary.py b/bookwyrm/views/annual_summary.py index 350090a6..eeecf2d7 100644 --- a/bookwyrm/views/annual_summary.py +++ b/bookwyrm/views/annual_summary.py @@ -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: