Commit c88a933d authored by Pierre Dittgen's avatar Pierre Dittgen

Just do it

parent 01abe441
......@@ -28,6 +28,7 @@ def schema_from_url(url):
# load config.json and catalog_schema_toml
ui_config = json.load(config.UI_CONFIG_FILE.open('rt', encoding='utf-8')) if config.UI_CONFIG_FILE else []
# super ugly way to access catalog_toml url
# TODO: improve it
schema_catalog_url = ui_config['sections'][0]['catalog']
table_schema_catalog = opendataschema.TableSchemaCatalog(schema_catalog_url, download_func=download_with_cache)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment