fix default config

This commit is contained in:
Cyberes 2024-04-04 15:06:36 -06:00
parent 54eb025385
commit 85ff90b5fd
1 changed files with 1 additions and 1 deletions

View File

@ -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', [])