mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-13 18:08:30 +02:00
Fixed index out of range error in fancy exporter (#1522)
This commit is contained in:
parent
7b5106dd08
commit
08c366d950
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class FancyExporter(TextExporter):
|
||||||
subsequent_indent=cls.border_g + " ",
|
subsequent_indent=cls.border_g + " ",
|
||||||
)
|
)
|
||||||
|
|
||||||
title_lines = w.wrap(entry.title)
|
title_lines = w.wrap(entry.title) or [""]
|
||||||
card.append(
|
card.append(
|
||||||
title_lines[0].ljust(initial_linewrap + 1)
|
title_lines[0].ljust(initial_linewrap + 1)
|
||||||
+ cls.border_d
|
+ cls.border_d
|
||||||
|
|
Loading…
Add table
Reference in a new issue