Skip to content

Commit d05db0f

Browse files
authored
Fix index generation not wrapping list in firmwares (#61)
1 parent 1c6d98f commit d05db0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zigpy_cli/ota.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def generate_index(ctx, ota_url_root, output, files):
140140
LOGGER.info("Writing %s", f)
141141
ota_metadata.append(metadata)
142142

143-
json.dump(ota_metadata, output, indent=4)
143+
json.dump({"firmwares": ota_metadata}, output, indent=4)
144144
output.write("\n")
145145

146146

0 commit comments

Comments
 (0)