mirror of https://github.com/Jackett/Jackett
BroadcastTheNet: fix error on no results
This commit is contained in:
parent
3354d37aa3
commit
8e1d321817
|
@ -107,7 +107,7 @@ namespace Jackett.Indexers
|
|||
{
|
||||
var btnResponse = JsonConvert.DeserializeObject<BTNRPCResponse>(response.Content);
|
||||
|
||||
if (btnResponse != null && btnResponse.Result != null)
|
||||
if (btnResponse != null && btnResponse.Result != null && btnResponse.Result.Torrents != null)
|
||||
{
|
||||
foreach (var itemKey in btnResponse.Result.Torrents)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue