When encountering unknown setting, also save the regular setting so we don't re-encounter the unknown settings everytime

This commit is contained in:
Alexandre Aubin 2020-12-28 20:05:51 +01:00
parent bdff5937f0
commit d77d5afb2c

View file

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