summaryrefslogtreecommitdiff
path: root/backend/src
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src')
-rw-r--r--backend/src/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/utilities.py b/backend/src/utilities.py
index b0e23b88..edde682d 100644
--- a/backend/src/utilities.py
+++ b/backend/src/utilities.py
@@ -238,7 +238,7 @@ class Utilities:
elif include_files:
# Handle requested extensions if present
if len(include_ext) == 0 or 'all_files' in include_ext \
- or splitext(file.name)[1].lstrip('.') in include_ext:
+ or splitext(file.name)[1].lstrip('.').upper() in (ext.upper() for ext in include_ext):
if (is_hidden and include_hidden) or not is_hidden:
files.append({"file": file, "filest": filest, "is_dir": False})
# Filter logic