From 39ebd92e60c467e70c6746d0fb60787ec679a502 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Thu, 4 May 2023 14:23:23 +1000 Subject: [PATCH] Format --- internal/manager/task_generate_screenshot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/manager/task_generate_screenshot.go b/internal/manager/task_generate_screenshot.go index a245dcdca..384d8740c 100644 --- a/internal/manager/task_generate_screenshot.go +++ b/internal/manager/task_generate_screenshot.go @@ -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 }