From 608f920d8fe32d701356887c1be975850eeae06c Mon Sep 17 00:00:00 2001 From: dbxnr Date: Tue, 11 Feb 2020 19:15:30 +0000 Subject: [PATCH] fix failing encyption tests --- jrnl/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index 433560db..8104259d 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -175,9 +175,9 @@ def guess_mode(args, config): export = False import_ = True elif ( - args.decrypt - or args.encrypt - or args.export + args.decrypt is not False + or args.encrypt is not False + or args.export is not False or any((args.short, args.tags, args.edit)) ): compose = False