diff --git a/tools/retro-library/generate_game_lists.py b/tools/retro-library/generate_game_lists.py index 3f41dc1d0..fe33e5f63 100644 --- a/tools/retro-library/generate_game_lists.py +++ b/tools/retro-library/generate_game_lists.py @@ -127,7 +127,7 @@ def collect_game_data(system_dir, extensions): name_cleaned = re.sub(r'_+', '_', name_cleaned) name_cleaned = name_cleaned.replace('+', '').replace('&', '').replace('!', '').replace("'", '').replace('.', '') name_cleaned_pegasus = name.replace(',_', ',') - + name_cleaned = name_cleaned.lower() # Calculate the ROM hash rom_hash = calculate_hash(file_path) diff --git a/tools/retro-library/missing_artwork.py b/tools/retro-library/missing_artwork.py index 42fb8e870..770f84f30 100644 --- a/tools/retro-library/missing_artwork.py +++ b/tools/retro-library/missing_artwork.py @@ -86,7 +86,7 @@ def collect_game_data(system_dir, extensions): name_cleaned = name_cleaned.strip().replace(' ', '_').replace('-', '_') name_cleaned = re.sub(r'_+', '_', name_cleaned) name_cleaned = name_cleaned.replace('+', '').replace('&', '').replace('!', '').replace("'", '').replace('.', '') - + name_cleaned = name_cleaned.lower() rom_hash = calculate_hash(file_path) # Check for missing images diff --git a/tools/retro-library/missing_artwork_platforms.py b/tools/retro-library/missing_artwork_platforms.py index 7df0e7782..f3b6a8467 100644 --- a/tools/retro-library/missing_artwork_platforms.py +++ b/tools/retro-library/missing_artwork_platforms.py @@ -64,7 +64,7 @@ def has_missing_images(system_dir, extensions): name_cleaned = name_cleaned.replace(' ', '_').replace('-', '_') name_cleaned = re.sub(r'_+', '_', name_cleaned) name_cleaned = name_cleaned.replace('+', '').replace('&', '').replace('!', '').replace("'", '').replace('.', '') - + name_cleaned = name_cleaned.lower() img_path = os.path.join(images_path, f"{platform}/{name_cleaned}.jpg") if not os.path.exists(img_path): return True