fix: Make PDF generator work with None comments
This commit is contained in:
@@ -76,7 +76,7 @@ def build_dinner_overview_pdf(event: Event) -> BytesIO:
|
||||
r.num_adult_meals,
|
||||
r.num_children_meals,
|
||||
r.num_small_children_meals,
|
||||
Paragraph(r.comment),
|
||||
Paragraph(r.comment or ""),
|
||||
""
|
||||
])
|
||||
for _ in range(5):
|
||||
|
||||
Reference in New Issue
Block a user