mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
[ROMM-2163] Fix excluding single roms without extensions
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user