PotatoFeed: fix potatoenabled flag

This commit is contained in:
kaso17 2017-08-21 15:02:06 +02:00
parent 464b142130
commit a7d65fedfb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ namespace Jackett.Models.DTO
site_link = indexer.SiteLink;
language = indexer.Language;
last_error = indexer.LastError;
potatoenabled = indexer.TorznabCaps.Categories.Select(c => c.ID).Any(i => i == TorznabCatType.Movies.ID);
potatoenabled = indexer.TorznabCaps.Categories.Any(i => TorznabCatType.Movies.Contains(i));
alternativesitelinks = indexer.AlternativeSiteLinks;