Skip TBA anime in recommendations

This commit is contained in:
Eduard Urbach 2018-03-04 01:02:30 +01:00
parent 36182d11c7
commit 8a8c97e5b8

View File

@ -66,8 +66,8 @@ func Anime(ctx *aero.Context) string {
// Calculate affinity for each anime // Calculate affinity for each anime
for _, anime := range recommendations { for _, anime := range recommendations {
// Skip anime that are upcoming // Skip anime that are upcoming or tba
if anime.Status == "upcoming" { if anime.Status == "upcoming" || anime.Status == "tba" {
continue continue
} }