Fixed: Error with deluge when it doesn’t report a Hash.

Fixes #2329
This commit is contained in:
Leonardo Galli 2018-02-07 15:59:14 +01:00
parent 27001b48f6
commit d2f99f1330
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge
foreach (var torrent in torrents)
{
var item = new DownloadClientItem();
item.DownloadId = torrent.Hash.ToUpper();
item.DownloadId = torrent.Hash?.ToUpper();
item.Title = torrent.Name;
item.Category = Settings.MovieCategory;