skip parsing when parser worked but anime was not found

This commit is contained in:
milarin 2023-03-03 09:53:18 +01:00
parent 1e270fcefb
commit e8f29f6c1b

View File

@ -39,7 +39,7 @@ func HandleFile(fh *FileHandle) {
if err != nil { if err != nil {
fmt.Fprintln(w, color.RedString(parser.Identity)) fmt.Fprintln(w, color.RedString(parser.Identity))
fmt.Fprintln(w, color.RedString("\tanime not found: '%s'", parsedFile.OriginalAnimeTitle)) fmt.Fprintln(w, color.RedString("\tanime not found: '%s'", parsedFile.OriginalAnimeTitle))
continue break
} }
fmt.Fprintln(w, color.GreenString(parser.Identity)) fmt.Fprintln(w, color.GreenString(parser.Identity))