Improved genre import

This commit is contained in:
Eduard Urbach 2017-11-29 06:52:50 +01:00
parent 3d1891e1a7
commit 76a437b7ae

View File

@ -21,6 +21,7 @@ func main() {
continue
}
fmt.Println(anime.Title.Canonical, malID)
sync(anime, malID)
}
@ -37,4 +38,5 @@ func sync(anime *arn.Anime, malID string) {
malAnime := obj.(*mal.Anime)
anime.Genres = malAnime.Genres
anime.Save()
}