fix default config
This commit is contained in:
parent
54eb025385
commit
85ff90b5fd
2
main.py
2
main.py
|
@ -27,7 +27,7 @@ async def main(args):
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
# Really lazy way to do this
|
# Really lazy way to do this
|
||||||
config = yaml_config
|
config = DEFAULT_CONFIG | yaml_config
|
||||||
config['r2'] = DEFAULT_CONFIG['r2'] | yaml_config.get('r2', {})
|
config['r2'] = DEFAULT_CONFIG['r2'] | yaml_config.get('r2', {})
|
||||||
config['allowed_to_export'] = yaml_config.get('allowed_to_export', [])
|
config['allowed_to_export'] = yaml_config.get('allowed_to_export', [])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue