Null pointer fix. (#4527)

Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
pull/4537/head
BaronGreenback 4 years ago committed by GitHub
parent 937e2a84e8
commit 05bd1383c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -114,7 +114,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
var seasonResult = await GetSeasonRootObject(seriesImdbId, seasonNumber, cancellationToken).ConfigureAwait(false);
if (seasonResult == null)
if (seasonResult?.Episodes == null)
{
return false;
}

Loading…
Cancel
Save