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"