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

Fixes #2329
pull/2/head
Leonardo Galli 6 years ago
parent 27001b48f6
commit d2f99f1330

@ -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;

Loading…
Cancel
Save