mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
fix missed statement from last PR
This commit is contained in:
parent
e6ed64ac7a
commit
e130f26cf1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue