From e130f26cf1a6018feceff928c80c951842cd5878 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 19 Mar 2022 13:14:39 -0700 Subject: [PATCH] fix missed statement from last PR --- jrnl/jrnl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jrnl/jrnl.py b/jrnl/jrnl.py index f6715f76..8a9d2d7a 100644 --- a/jrnl/jrnl.py +++ b/jrnl/jrnl.py @@ -136,7 +136,9 @@ def write_mode(args, config, journal, **kwargs): if not raw or raw.isspace(): logging.error("Write mode: couldn't get raw text or entry was empty") - raise JrnlException(Message(MsgText.NoTextReceived, MsgType.ERROR)) + raise JrnlException( + Message(MsgText.NoTextReceived, MsgType.ERROR) + ) logging.debug( 'Write mode: appending raw text to journal "%s": %s', args.journal_name, raw