mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 02:45:29 -04:00
make filename extension downcase for comparing
This commit is contained in:
parent
54cd15d542
commit
c51cb28df2
@ -36,7 +36,7 @@ class Title
|
||||
@title_ids << title.id
|
||||
next
|
||||
end
|
||||
if [".zip", ".cbz", ".rar", ".cbr"].includes? File.extname path
|
||||
if [".zip", ".cbz", ".rar", ".cbr"].includes? (File.extname path).downcase
|
||||
entry = Entry.new path, self
|
||||
@entries << entry if entry.pages > 0 || entry.err_msg
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user