Skip to content
Snippets Groups Projects
Commit 21af1100 authored by Antoine Pietri's avatar Antoine Pietri
Browse files

api/server: fix bug that prevents global config from being loaded at all

parent 203fa3f2
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,8 @@ def make_app(config, **kwargs):
def make_app_from_configfile(config_path=DEFAULT_CONFIG_PATH, **kwargs):
return make_app(config.read(config_path, DEFAULT_CONFIG), **kwargs)
cfg = config.load_named_config(config_path, DEFAULT_CONFIG)
return make_app(cfg, **kwargs)
@click.command()
......
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