Overwrite phash during generate if flag set (#1633)

This commit is contained in:
WithoutPants
2021-08-11 16:08:10 +10:00
committed by GitHub
parent 59c6fe046d
commit c29d8b547d
3 changed files with 4 additions and 1 deletions

View File

@@ -322,6 +322,7 @@ func (s *singleton) Generate(ctx context.Context, input models.GenerateMetadataI
Scene: *scene,
fileNamingAlgorithm: fileNamingAlgo,
txnManager: s.TxnManager,
Overwrite: overwrite,
}
wg.Add()
go progress.ExecuteTask(fmt.Sprintf("Generating phash for %s", scene.Path), func() {