From 481168e4e194e4e7dcf66cd1cbee2860f2437cb1 Mon Sep 17 00:00:00 2001 From: milarin Date: Sun, 15 Jan 2023 14:19:45 +0100 Subject: [PATCH] debug --- handle_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle_file.go b/handle_file.go index ccd2ee6..4eaa23e 100644 --- a/handle_file.go +++ b/handle_file.go @@ -110,7 +110,7 @@ func OrganizeAnimeEpisode(b *strings.Builder, parsedFile *model.ParsedFile) erro return err } - if err = os.Remove(lockFile); err != nil { + if err = os.Remove(lockFile); err != nil && !errors.Is(err, os.ErrNotExist) { return err }