mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 13:36:14 +02:00
Simplified syntax for joining journal names with new lines.
This commit is contained in:
parent
3450967eb3
commit
bb3778a099
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def list_journals(config):
|
||||||
"""List the journals specified in the configuration file"""
|
"""List the journals specified in the configuration file"""
|
||||||
|
|
||||||
sep = "\n"
|
sep = "\n"
|
||||||
journal_list = sep.join(j for j in config['journals'])
|
journal_list = sep.join(config['journals'])
|
||||||
|
|
||||||
return journal_list
|
return journal_list
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue