From 2af0e1e3882f7e8cffeda0a2a0680c9f2bfc67cc Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 3 May 2022 18:55:21 +0100 Subject: [PATCH] . --- generic/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generic/views.py b/generic/views.py index 4a3330ac..43553be2 100644 --- a/generic/views.py +++ b/generic/views.py @@ -299,8 +299,8 @@ class ExamViews(View, LoginRequiredMixin): if (exam.open_access and exam.active) or user in exam.get_author_objects(): return True - if exam.authors_only: - return False + if exam.authors_only: + return False if ( self.app_name == "rapids" @@ -353,8 +353,8 @@ class ExamViews(View, LoginRequiredMixin): if exam.open_access or user in exam.get_author_objects(): return True - if exam.authors_only: - return False + if exam.authors_only: + return False if ( self.app_name == "rapids"