From 598c0e97cea6503ab7aad0e6944a5a05527676cc Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Wed, 14 Aug 2013 14:00:32 -0700 Subject: [PATCH] Prevents journal from printing when composing an entry This fixes #87 --- jrnl/jrnl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/jrnl.py b/jrnl/jrnl.py index 256075ce..5763a90d 100755 --- a/jrnl/jrnl.py +++ b/jrnl/jrnl.py @@ -184,7 +184,7 @@ def cli(manual_args=None): journal.limit(args.limit) # Reading mode - if not mode_export: + if not mode_compose and not mode_export: print(journal.pprint()) # Various export modes