Updated sync

This commit is contained in:
Eduard Urbach 2017-07-11 00:56:18 +02:00
parent 65ca0466e0
commit 0de59c5b4f

View File

@ -136,6 +136,13 @@ func sync(data *kitsu.Anime) *arn.Anime {
status = color.RedString("✘") status = color.RedString("✘")
} }
// Episodes
episodes, err := arn.GetAnimeEpisodes(anime.ID)
if err != nil || episodes == nil {
anime.RefreshEpisodes()
}
// Log // Log
fmt.Println(status, anime.ID, anime.Title.Canonical) fmt.Println(status, anime.ID, anime.Title.Canonical)