aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/books.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/books.py b/lib/books.py
index 83d096d..1c4b4a5 100644
--- a/lib/books.py
+++ b/lib/books.py
@@ -134,7 +134,7 @@ class Books:
for f in sorted(os.listdir(path)):
# must be a file and have a supported extension
file_path = os.path.join(path, f)
- if not os.path.isfile(file_path) or not f.split('.')[-1] in ext:
+ if not os.path.isfile(file_path) or not f.split('.')[-1].lower() in ext:
continue
# tracks at minimum must have a duration tag (required by podcast