1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

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

View File

@ -97,7 +97,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
foreach (var torrent in torrents) foreach (var torrent in torrents)
{ {
var item = new DownloadClientItem(); var item = new DownloadClientItem();
item.DownloadId = torrent.Hash.ToUpper(); item.DownloadId = torrent.Hash?.ToUpper();
item.Title = torrent.Name; item.Title = torrent.Name;
item.Category = Settings.MovieCategory; item.Category = Settings.MovieCategory;