️ Ignore Disc on retropy
All checks were successful
dl / lint (push) Successful in 1m13s
dl / docker (push) Successful in 47s

This commit is contained in:
Michel Roux 2024-02-23 14:42:30 +01:00
parent 48b68f0fbe
commit 948ef26397

View File

@ -38,7 +38,7 @@ for console in path.iterdir():
# loop over roms without hashes
for rom in Path(path / "hashes" / console.name / "roms").iterdir():
if rom.is_file():
if rom.is_file() and "Disc" not in rom.name:
# get rom hash
with open(rom, "r") as file:
hash = file.read()