Merge pull request #777 from Cucumberrbob/fix/pm-all-files-excluded
fix: [PM] `GetDownloadLinks`: return empty list not null when all files excluded
This commit is contained in:
commit
1dff00c3f1
1 changed files with 0 additions and 7 deletions
|
|
@ -232,13 +232,6 @@ public class PremiumizeTorrentClient(ILogger<PremiumizeTorrentClient> logger, IH
|
|||
downloadInfos.Add(new () {RestrictedLink = file.Link, FileName = file.Name });
|
||||
}
|
||||
|
||||
if (downloadInfos.Count == 0)
|
||||
{
|
||||
Log($"No download links found for transfer {transfer.Name} ({transfer.Id})", torrent);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
foreach (var info in downloadInfos)
|
||||
{
|
||||
Log($"Found {info.RestrictedLink}", torrent);
|
||||
|
|
|
|||
Loading…
Reference in a new issue