From 84cf41535c3de78aa4792c4f85f84b1dbbbddcc8 Mon Sep 17 00:00:00 2001 From: Emanuele Date: Thu, 4 Dec 2025 15:07:23 +0100 Subject: [PATCH] No --- in notes --- cntmanage/flightslot/actions/exportweek.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cntmanage/flightslot/actions/exportweek.py b/cntmanage/flightslot/actions/exportweek.py index 6ca40fa..c4c464e 100644 --- a/cntmanage/flightslot/actions/exportweek.py +++ b/cntmanage/flightslot/actions/exportweek.py @@ -117,7 +117,7 @@ def export_selected(request: HttpRequest, queryset: QuerySet[WeekPreference]) -> for t in Training.objects.filter(weekpref = q.id): if not t.mission: raise Exception("No Training Mission Assigned") - mission_notes = t.notes.strip().capitalize() if t.notes else "---" + mission_notes = t.notes.strip().capitalize() if t.notes else "" mission_name = [f"{t.mission.mtype}-{t.mission.mnum}"] if q.student.course and q.student.course.ctype == CourseTypes.PPL: # add course aircraft only for PPL students mission_name.append(student_course_ac)