diff --git a/backend/utils/fs.py b/backend/utils/fs.py index 829ca2e12..f296f0558 100644 --- a/backend/utils/fs.py +++ b/backend/utils/fs.py @@ -156,7 +156,7 @@ def _exclude_multi_roms(roms) -> list[str]: def get_rom_files(rom: str, roms_path: str) -> list[str]: rom_files: list = [] - for path, d, files in os.walk(f"{roms_path}/{rom}"): + for path, _, files in os.walk(f"{roms_path}/{rom}"): [rom_files.append(f"{Path(path, f)}".replace(f"{roms_path}/{rom}/", '')) for f in _exclude_files(files, 'multi_parts')] return rom_files