Skip to content
Snippets Groups Projects
Verified Commit a7727a68 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix typo

parent 5bac590c
No related branches found
No related tags found
No related merge requests found
Pipeline #3624 passed
...@@ -49,8 +49,8 @@ def mark_absent( ...@@ -49,8 +49,8 @@ def mark_absent(
# Create and update all personal notes for the discovered lesson periods # Create and update all personal notes for the discovered lesson periods
for lesson_period in lesson_periods: for lesson_period in lesson_periods:
sub = lesson_period.get_substitution() sub = lesson_period.get_substitution()
if sub and sub.is_cancelled: if sub and sub.cancelled:
continue continue
with reversion.create_revision(): with reversion.create_revision():
personal_note, created = PersonalNote.objects.update_or_create( personal_note, created = PersonalNote.objects.update_or_create(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment