⚡️ Ignore Disc on retropy
This commit is contained in:
parent
48b68f0fbe
commit
948ef26397
@ -38,7 +38,7 @@ for console in path.iterdir():
|
|||||||
|
|
||||||
# loop over roms without hashes
|
# loop over roms without hashes
|
||||||
for rom in Path(path / "hashes" / console.name / "roms").iterdir():
|
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
|
# get rom hash
|
||||||
with open(rom, "r") as file:
|
with open(rom, "r") as file:
|
||||||
hash = file.read()
|
hash = file.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user