From 774be0cbde4e100b2c97d3796764706224676aac Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Tue, 12 Aug 2025 18:18:29 -0400 Subject: [PATCH] [ROMM-2163] Fix excluding single roms without extensions --- backend/handler/filesystem/base_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/handler/filesystem/base_handler.py b/backend/handler/filesystem/base_handler.py index 10f0ef6e2..85916b816 100644 --- a/backend/handler/filesystem/base_handler.py +++ b/backend/handler/filesystem/base_handler.py @@ -193,7 +193,7 @@ class FSHandler: ext = self.parse_file_extension(file_name) # Exclude the file if it has no extension or the extension is in the excluded list. - if not ext or ext in excluded_extensions: + if ext and ext.lower() in excluded_extensions: excluded_files.append(file_name) # Additionally, check if the file name mathes a pattern in the excluded list.