Adding home object, in case metadata is empty.

This commit is contained in:
José Manuel Barroso Galindo
2022-12-17 22:26:08 +01:00
parent fa360c4ee4
commit 243147d970

View File

@@ -46,7 +46,7 @@ def main(dryrun):
check_test = os.getenv('CHECK_TEST', 'true') != 'false'
download_metadata_json = os.getenv('DOWNLOAD_METADATA_JSON', '/tmp/download_metadata.json')
tags = Tags(try_read_json(download_metadata_json, {}))
tags = Tags(try_read_json(download_metadata_json, {'home': {}}))
db = create_db('.', {
'sha': sha,