🐛 skip if no name
dl / lint (push) Successful in 1m8s Details
dl / docker (push) Successful in 42s Details

This commit is contained in:
Michel Roux 2024-02-23 11:58:44 +01:00
parent 559acb8196
commit ac8ec0ad37
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ for console in path.iterdir():
# get rom ref
for id, metadata in metadatas.items():
# skip if no name
if "name" not in metadata:
continue
rom_name = rom.name.split("(")[0].strip().lower()
meta_name = metadata["name"].split("(")[0].strip().lower()