fix: Do not fail the update if a key was removed from the config

pull/442/head
Raphaël Vinot 2022-06-09 19:24:04 +02:00
parent 6ba019ec83
commit 4f2ee1e770
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def validate_generic_config_file():
# Make sure the user config file doesn't have entries missing in the sample config
for key in generic_config.keys():
if key not in generic_config_sample:
raise Exception(f'{key} is missing in the sample config file. You need to compare {user_config} with {sample_config}.')
logger.warning(f'{key} is missing in the sample config file, it was probably removed, you can do it too.')
return True