Don't show episode difference if count is 0
This commit is contained in:
parent
5bc9556fed
commit
1cdcd00772
@ -162,7 +162,7 @@ func CompareMAL(ctx *aero.Context) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// EpisodeCount
|
// EpisodeCount
|
||||||
if anime.EpisodeCount != malAnime.EpisodeCount {
|
if malAnime.EpisodeCount != 0 && anime.EpisodeCount != malAnime.EpisodeCount {
|
||||||
hash := uint64(malAnime.EpisodeCount)
|
hash := uint64(malAnime.EpisodeCount)
|
||||||
|
|
||||||
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "EpisodeCount", hash) {
|
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "EpisodeCount", hash) {
|
||||||
|
Loading…
Reference in New Issue
Block a user