From 5040663a6639c077e10892604d9ba81956c1ff38 Mon Sep 17 00:00:00 2001 From: apainintheneck Date: Mon, 27 Jun 2022 19:43:39 -0700 Subject: [PATCH] Fixed index out of range error in fancy exporter --- jrnl/plugins/fancy_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/plugins/fancy_exporter.py b/jrnl/plugins/fancy_exporter.py index b9567bfd8..a1e318694 100644 --- a/jrnl/plugins/fancy_exporter.py +++ b/jrnl/plugins/fancy_exporter.py @@ -50,7 +50,7 @@ def export_entry(cls, entry): subsequent_indent=cls.border_g + " ", ) - title_lines = w.wrap(entry.title) + title_lines = w.wrap(entry.title) or [""] card.append( title_lines[0].ljust(initial_linewrap + 1) + cls.border_d