Skip to content
Snippets Groups Projects
Verified Commit 12fe6383 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

Fix typo.

parent 25659445
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class LessonPeriod(SchoolRelated):
# prefetching when this model is loaded from outside, in contrast
# to .filter()
for substitution in self.substitutions.all():
if substitution.weeb == wanted_week:
if substitution.week == wanted_week:
return substitution
return None
......
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