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)