From c99ee04242cdba5818cec0c26684706b2fafe2f1 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sun, 1 Sep 2019 00:02:05 +0200 Subject: [PATCH] Fix name of table. --- biscuit/apps/chronos/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/chronos/tables.py b/biscuit/apps/chronos/tables.py index ac2bcb18..786479f4 100644 --- a/biscuit/apps/chronos/tables.py +++ b/biscuit/apps/chronos/tables.py @@ -7,7 +7,7 @@ from django_tables2.utils import A from .models import LessonPeriod -def _css_class_from_lesson_state(record: Optional[LessonPeriod] = None, table: Optional[LessonTable] = None) -> str: +def _css_class_from_lesson_state(record: Optional[LessonPeriod] = None, table: Optional[LessonsTable] = None) -> str: if record.get_substitution(table._week): return 'table-warning' else: -- GitLab