Fix scene covers not importing correctly

This commit is contained in:
Stash Dev
2020-01-06 15:18:06 -08:00
parent 488cd5575d
commit f8aa0433a3
2 changed files with 6 additions and 2 deletions

View File

@@ -391,6 +391,8 @@ func (t *ImportTask) ImportScenes(ctx context.Context) {
if len(coverImageData) > 0 {
if err = SetSceneScreenshot(mappingJSON.Checksum, coverImageData); err != nil {
logger.Warnf("[scenes] <%s> failed to create cover image: %s", mappingJSON.Checksum, err.Error())
} else {
newScene.Cover = coverImageData
}
}
}