From e8f29f6c1b2770468834d3a95a26beb69a3269a9 Mon Sep 17 00:00:00 2001 From: milarin Date: Fri, 3 Mar 2023 09:53:18 +0100 Subject: [PATCH] skip parsing when parser worked but anime was not found --- handle_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle_file.go b/handle_file.go index e1ac820..fc892db 100644 --- a/handle_file.go +++ b/handle_file.go @@ -39,7 +39,7 @@ func HandleFile(fh *FileHandle) { if err != nil { fmt.Fprintln(w, color.RedString(parser.Identity)) fmt.Fprintln(w, color.RedString("\tanime not found: '%s'", parsedFile.OriginalAnimeTitle)) - continue + break } fmt.Fprintln(w, color.GreenString(parser.Identity))