diff --git a/biscuit/apps/untis/sub.py b/biscuit/apps/untis/sub.py index c16bafcce016cbe9514ed75113998029fc5c4b9f..fecb3ccf5480827452890884b9aa3b5fa1f9b845 100644 --- a/biscuit/apps/untis/sub.py +++ b/biscuit/apps/untis/sub.py @@ -168,6 +168,8 @@ def generate_event_table(events): if event.from_lesson != event.to_lesson: sub_row.lesson = "{}.-{}.".format(event.from_lesson, event.to_lesson) + else: + sub_row.lesson = "{}.".format(event.from_lesson) sub_row.classes = format_classes(event.classes) sub_row.teachers = event.teachers