Merge pull request #18 from nallown/go
Change anime status from "TBA" and "Unreleased" into "Upcoming"
This commit is contained in:
commit
097dbb5302
@ -59,6 +59,11 @@ func sync(data *kitsu.Anime) *arn.Anime {
|
||||
anime.EpisodeCount = attr.EpisodeCount
|
||||
anime.EpisodeLength = attr.EpisodeLength
|
||||
anime.Status = attr.Status
|
||||
|
||||
if attr.Status == "tba" || attr.Status == "unreleased" {
|
||||
anime.Status = "upcoming"
|
||||
}
|
||||
|
||||
anime.Summary = arn.FixAnimeDescription(attr.Synopsis)
|
||||
|
||||
if anime.Mappings == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user