skip parsing when parser worked but anime was not found
This commit is contained in:
parent
1e270fcefb
commit
e8f29f6c1b
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user