fix: coerce numeric hashes to strings

This commit is contained in:
Abdessamad Derraz committed 2026-08-07 15:30:37 +02:00
1 parent fe41c237a2
commit 587aadde08
4 files changed
+70 -2

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ class Exporter(BaseExporter):
rom_parts.append(f"size {size}")
crc = fe.get("crc32", "")
if crc:
rom_parts.append(f"crc {crc.upper()}")
rom_parts.append(f"crc {str(crc).upper()}")
md5 = fe.get("md5", "")
if isinstance(md5, list):
md5 = md5[0] if md5 else ""