🐛 skip if no name
This commit is contained in:
parent
559acb8196
commit
ac8ec0ad37
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user