diff --git a/patches/import-mal-anime-data/import-mal-anime-data.go b/patches/import-mal-anime-data/import-mal-anime-data.go index a2de0e07..dcbb66f9 100644 --- a/patches/import-mal-anime-data/import-mal-anime-data.go +++ b/patches/import-mal-anime-data/import-mal-anime-data.go @@ -21,7 +21,6 @@ func main() { continue } - fmt.Printf("%s %s\n", color.CyanString(anime.Title.Canonical), malID) sync(anime, malID) } @@ -38,6 +37,9 @@ func sync(anime *arn.Anime, malID string) { malAnime := obj.(*mal.Anime) + // Log title + fmt.Printf("%s %s\n", color.CyanString(anime.Title.Canonical), malID) + if len(anime.Genres) == 0 && len(malAnime.Genres) > 0 { fmt.Println("Genres:", malAnime.Genres) anime.Genres = malAnime.Genres