Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Sadrieh committed Apr 29, 2024
1 parent 9ebfb6c commit f08ef58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evap/staff/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,9 @@ def create_exam_evaluation(request):

evaluation_end_date = exam_date - timedelta(days=1)
if evaluation.vote_start_datetime > evaluation_end_date:
messages.error(request, _("The exam date is before the start date of the main evaluation. No exam evaluation created."))
messages.error(
request, _("The exam date is before the start date of the main evaluation. No exam evaluation created.")
)
return HttpResponse()

evaluation.weight = 9
Expand Down

0 comments on commit f08ef58

Please sign in to comment.