Fixed: Ignore empty tags when adding items to Flood

(cherry picked from commit 0a5200766ea80fc1c97bfa497cdfed31b9af687f)
pull/1968/head
Bogdan 1 year ago
parent 9d40a64be4
commit 67eeb4373c

@ -4,6 +4,7 @@ using System.Linq;
using FluentValidation.Results; using FluentValidation.Results;
using NLog; using NLog;
using NzbDrone.Common.Disk; using NzbDrone.Common.Disk;
using NzbDrone.Common.Extensions;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.Download.Clients.Flood.Models; using NzbDrone.Core.Download.Clients.Flood.Models;
using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers;
@ -56,7 +57,7 @@ namespace NzbDrone.Core.Download.Clients.Flood
} }
} }
return result; return result.Where(t => t.IsNotNullOrWhiteSpace());
} }
public override string Name => "Flood"; public override string Name => "Flood";

Loading…
Cancel
Save