Minor change
This commit is contained in:
parent
960ce16569
commit
a941af77f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user