From 222a6969e619e1685c1f3c01c379f4303e82360b Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Mon, 16 May 2022 12:06:07 -0700 Subject: [PATCH] fix bug with panel titles always showing 'error' after one error --- jrnl/output.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jrnl/output.py b/jrnl/output.py index b62202e1..04e209db 100644 --- a/jrnl/output.py +++ b/jrnl/output.py @@ -77,8 +77,7 @@ def print_msgs( def _add_extra_style_args_if_needed(args, msg): args["border_style"] = msg.style.color - if msg.style == MsgStyle.ERROR: - args["title"] = "Error" + args["title"] = "Error" if msg.style == MsgStyle.ERROR else None return args