config.py: fix cmd_config_init() saving

This commit is contained in:
InsanePrawn 2022-02-14 19:31:47 +01:00
parent bd20a1123e
commit 27aba2e21f

View file

@ -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: