mirror of https://github.com/stashapp/stash.git
JPEG is a valid gallery file. Closes #28
This commit is contained in:
parent
543d2597ec
commit
c73f78bb42
|
@ -98,7 +98,7 @@ func (g *Gallery) listZipContents() ([]*zip.File, *zip.ReadCloser, error) {
|
|||
continue
|
||||
}
|
||||
ext := filepath.Ext(file.Name)
|
||||
if ext != ".jpg" && ext != ".png" && ext != ".gif" {
|
||||
if ext != ".jpg" && ext != ".jpeg" && ext != ".png" && ext != ".gif" {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(file.Name, "__MACOSX") {
|
||||
|
|
Loading…
Reference in New Issue