host_manager

This commit is contained in:
Zsolt Ero
2024-01-03 19:22:03 +01:00
parent 67587076fd
commit e663196013
5 changed files with 22 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ def cli(metadata_path: Path, tilejson_path: Path, url_prefix: str, minify: bool)
''
tilejson['vector_layers'] = metadata_json_key.pop('vector_layers')
assert not metadata_json_key # check that no more keys left
assert not metadata_json_key # check that no more keys are left
tilejson['attribution'] = metadata.pop('attribution')
tilejson['bounds'] = [float(n) for n in metadata.pop('bounds').split(',')]