From d2b4ae995198b660778cad01ffb7511b241150b3 Mon Sep 17 00:00:00 2001 From: Eshan Ramesh Date: Tue, 19 May 2020 17:14:46 -0400 Subject: [PATCH] fix title-body order for the last time --- jrnl/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/util.py b/jrnl/util.py index 189f1cf5..6e01087c 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -266,5 +266,5 @@ def split_title(text): if not sep: sep = SENTENCE_SPLITTER.search(text) if not sep: - return "", text + return text,"" return text[: sep.end()].strip(), text[sep.end() :].strip()