[enh] settings.yml: allow granular overwrites for about

This commit is contained in:
Martin Fischer 2021-12-22 09:13:23 +01:00
parent 8a0810cedc
commit df34b1ddcf

View file

@ -138,6 +138,8 @@ def update_engine_attributes(engine, engine_data):
if isinstance(param_value, str):
param_value = list(map(str.strip, param_value.split(',')))
engine.categories = param_value
elif hasattr(engine, 'about') and param_name == 'about':
engine.about = {**engine.about, **engine_data['about']}
else:
setattr(engine, param_name, param_value)