mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Format
This commit is contained in:
@@ -26,12 +26,12 @@ func (t *GenerateCoverTask) Start(ctx context.Context) {
|
||||
var required bool
|
||||
if err := t.txnManager.WithReadTxn(ctx, func(ctx context.Context) error {
|
||||
required = t.required(ctx)
|
||||
|
||||
|
||||
return t.Scene.LoadPrimaryFile(ctx, t.txnManager.File)
|
||||
}); err != nil {
|
||||
logger.Error(err)
|
||||
}
|
||||
|
||||
|
||||
if !required {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user