config.py: fix cmd_config_init() saving
This commit is contained in:
parent
bd20a1123e
commit
27aba2e21f
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ def cmd_profile_init(name: str, non_interactive: bool = False, noop: bool = Fals
|
|||
profile |= config.file['profiles'][name]
|
||||
|
||||
if not non_interactive:
|
||||
profile = prompt_profile(name, create=True)
|
||||
profile, _changed = prompt_profile(name, create=True)
|
||||
|
||||
config.update_profile(name, profile)
|
||||
if not noop:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue