mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +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"""
|
||||
|
||||
sep = "\n"
|
||||
journal_list = sep.join(j for j in config['journals'])
|
||||
journal_list = sep.join(config['journals'])
|
||||
|
||||
return journal_list
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue