From bb3778a09957ecb0d1f2bd26d796c41e7144199a Mon Sep 17 00:00:00 2001 From: Josh Tan Date: Sun, 23 Feb 2014 22:46:28 -0600 Subject: [PATCH] Simplified syntax for joining journal names with new lines. --- jrnl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index c092f4d1..abbefea1 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -92,7 +92,7 @@ def list_journals(config): """List the journals specified in the configuration file""" sep = "\n" - journal_list = sep.join(j for j in config['journals']) + journal_list = sep.join(config['journals']) return journal_list