mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Don't set config to default_config before saving
After we create a new journal it should be added to the config file but if we set "config" to "default_config" then new entry will never make it jrnl.yaml file
This commit is contained in:
parent
440d1dc972
commit
b5c4ad7a4a
1 changed files with 0 additions and 1 deletions
|
@ -157,7 +157,6 @@ def create(journal_name, default_file_path=None, config=None):
|
|||
else:
|
||||
PlainJournal._create(journal_path)
|
||||
|
||||
config = default_config
|
||||
save_config(config)
|
||||
if password:
|
||||
config['password'] = password
|
||||
|
|
Loading…
Add table
Reference in a new issue