Don't show episode difference if count is 0

This commit is contained in:
Eduard Urbach 2018-03-27 07:38:10 +02:00
parent 5bc9556fed
commit 1cdcd00772

View File

@ -162,7 +162,7 @@ func CompareMAL(ctx *aero.Context) string {
}
// EpisodeCount
if anime.EpisodeCount != malAnime.EpisodeCount {
if malAnime.EpisodeCount != 0 && anime.EpisodeCount != malAnime.EpisodeCount {
hash := uint64(malAnime.EpisodeCount)
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "EpisodeCount", hash) {