Import: Check if "convert to jpeg" is disabled
This commit is contained in:
parent
77f283a39d
commit
44415bc78e
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func ImportWorker(jobs <-chan ImportJob) {
|
|||
}
|
||||
}
|
||||
|
||||
if f.IsMedia() && !f.HasJpeg() {
|
||||
if indexOpt.Convert && f.IsMedia() && !f.HasJpeg() {
|
||||
if jpegFile, err := imp.convert.ToJpeg(f); err != nil {
|
||||
log.Errorf("import: %s in %s (convert to jpeg)", err.Error(), txt.Quote(fs.RelName(destMainFileName, imp.originalsPath())))
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue