Skip to content

Commit c6435db

Browse files
FSadriehjanno42
andcommitted
Apply message suggestions from Janno
Co-authored-by: Johannes Wolf <janno42@posteo.de>
1 parent 884b501 commit c6435db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evap/staff/views.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1098,10 +1098,10 @@ def course_copy(request, course_id):
10981098
def create_exam_evaluation(request: HttpRequest) -> HttpResponse:
10991099
evaluation = get_object_from_dict_pk_entry_or_logged_40x(Evaluation, request.POST, "evaluation_id")
11001100
if evaluation.is_single_result:
1101-
raise SuspiciousOperation("Creating an exam evaluation for a single result evaluation is not allowed")
1101+
raise SuspiciousOperation("Creating an exam evaluation for a single result evaluation is not allowed.")
11021102

11031103
if evaluation.has_exam_evaluation:
1104-
raise SuspiciousOperation("An exam evaluation already exists for this course")
1104+
raise SuspiciousOperation("An exam evaluation already exists for this course.")
11051105

11061106
exam_date_string = request.POST.get("exam_date")
11071107
if not exam_date_string:

0 commit comments

Comments
 (0)