From 2732ae5419c28f8b1e1a41a9c87aed51b3696ea7 Mon Sep 17 00:00:00 2001 From: Juan Pablo Garcia Date: Wed, 6 Dec 2017 18:30:28 -0400 Subject: [PATCH] Minor bug fix --- jrnl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index 360a3d9f..042e38e0 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -153,7 +153,7 @@ def run(manual_args=None): # If the first textual argument points to a journal file, # use this! - first_arg = args.text[0].replace(':', '') + first_arg = args.text[0].replace(':', '') if len(args.text) > 0 else None journal_name = first_arg if (args.text and first_arg in config['journals']) else 'default' if journal_name is not 'default':