Fixed old stuff

This commit is contained in:
2017-07-10 20:39:50 +02:00
parent 1da3e3f2f8
commit b6fb1c1f08
9 changed files with 32 additions and 61 deletions

View File

@ -68,10 +68,6 @@ func sync(data *kitsu.Anime) *arn.Anime {
anime.Mappings = []*arn.Mapping{}
}
if anime.Episodes == nil {
anime.Episodes = []*arn.AnimeEpisode{}
}
// Prefer Shoboi Japanese titles over Kitsu JP titles
if anime.GetMapping("shoboi/anime") != "" {
// Only take Kitsu title when our JP title is empty