Some more changes

This commit is contained in:
tidusjar 2016-08-03 14:32:03 +01:00
parent f6e1176295
commit cfd01fa86e
3 changed files with 4 additions and 3 deletions

View file

@ -91,7 +91,8 @@ namespace PlexRequests.Api
var season = new Season
{
seasonNumber = i,
monitored = seasons.Length == 0 || seasons.Any(x => x == i)
// ReSharper disable once SimplifyConditionalTernaryExpression
monitored = monitor ? seasons.Length == 0 || seasons.Any(x => x == i) : false
};
options.seasons.Add(season);
}