mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
When encountering unknown setting, also save the regular setting so we don't re-encounter the unknown settings everytime
This commit is contained in:
parent
bdff5937f0
commit
d77d5afb2c
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ def _get_settings():
|
|||
if unknown_settings:
|
||||
try:
|
||||
_save_settings(unknown_settings, location=unknown_settings_path)
|
||||
_save_settings(settings)
|
||||
except Exception as e:
|
||||
logger.warning("Failed to save unknown settings (because %s), aborting." % e)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue