Fixed lint error

Ok, now I will install linter.
This commit is contained in:
Jarmo Riikonen 2018-07-03 13:31:49 +03:00
parent 1e5f654928
commit 9c80f8dd7e

View File

@ -60,7 +60,7 @@ func averageScore(user *arn.User, animes []*arn.Anime) float64 {
userAnime := animeList.Find(anime.ID) userAnime := animeList.Find(anime.ID)
if userAnime != nil && !userAnime.Rating.IsNotRated() { if userAnime != nil && !userAnime.Rating.IsNotRated() {
scores += userAnime.Rating.Overall scores += userAnime.Rating.Overall
count += 1 count++
} }
} }