Fix inverted boolean statement

This commit is contained in:
cvium 2020-09-24 20:18:45 +02:00
parent 34d2716ce8
commit f8c4f7c63e

View File

@ -45,7 +45,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
var seriesTmdbId = Convert.ToInt32(series?.GetProviderId(MetadataProvider.Tmdb), CultureInfo.InvariantCulture);
if (seriesTmdbId <= 0 || season?.IndexNumber != null)
if (seriesTmdbId <= 0 || season?.IndexNumber == null)
{
return Enumerable.Empty<RemoteImageInfo>();
}