mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #394 from tigran123/dirinfo
Bugfix: count books like BOOK.PDF and BOOK.DJVU
This commit is contained in:
@@ -74,7 +74,7 @@ function FileInfo:getFolderContent()
|
||||
if j == "file" then
|
||||
files = files + 1
|
||||
ftype = string.match(name, ".+%.([^.]+)")
|
||||
if ftype and ext:getReader(ftype) then
|
||||
if ftype and ext:getReader(string.lower(ftype)) then
|
||||
books = books + 1
|
||||
end
|
||||
elseif j == "directory" then
|
||||
|
||||
Reference in New Issue
Block a user