Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add[python]: add support for generating metadata with layer rarity
Browse files Browse the repository at this point in the history
Montspy committed Jul 7, 2022

Verified

This commit was signed with the committer’s verified signature.
erikmd Erik Martin-Dorel
1 parent b0438c5 commit 69a923d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/metadata.py
Original file line number Diff line number Diff line change
@@ -166,7 +166,7 @@ def main():

# Get trait properties only (remove ID, CID, etc...)
layer_names = [l["layer_name"] for l in traits.image_layers]
properties = {name: image[name] for name in layer_names}
properties = {name: image[name] for name in layer_names if name in image}

# Create all new info
token = {

0 comments on commit 69a923d

Please sign in to comment.