EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 73011e52 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

switch order of default config apply

parent 00c1149d
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ def preprocess_file(config: dict, file_path: os.PathLike, use_dir: os.PathLike=N
# get a concrete configuration for the type, filled with the defaults
default_config = dict(config['preprocessing'].get('defaults', {}))
preprocess_config = dict(config['preprocessing']['types'].get(product_type, {}))
preprocess_config.update(default_config)
default_config.update(preprocess_config)
logger.debug('Using preprocessing config %s' % pformat(preprocess_config))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment