mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fix: Root Folder Downloads check giving errors when RuTorrent is used
This commit is contained in:
parent
95c7b96dff
commit
627a39b8fc
@ -5,6 +5,11 @@ namespace NzbDrone.Core.Download
|
||||
{
|
||||
public class DownloadClientInfo
|
||||
{
|
||||
public DownloadClientInfo()
|
||||
{
|
||||
OutputRootFolders = new List<OsPath>();
|
||||
}
|
||||
|
||||
public bool IsLocalhost { get; set; }
|
||||
public List<OsPath> OutputRootFolders { get; set; }
|
||||
}
|
||||
|
@ -61,8 +61,6 @@ public override HealthCheck Check()
|
||||
{
|
||||
var status = client.GetStatus();
|
||||
var folders = status.OutputRootFolders;
|
||||
if (folders != null)
|
||||
{
|
||||
foreach (var folder in folders)
|
||||
{
|
||||
if (!folder.IsValid)
|
||||
@ -98,7 +96,6 @@ public override HealthCheck Check()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (DownloadClientException ex)
|
||||
{
|
||||
_logger.Debug(ex, "Unable to communicate with {0}", client.Definition.Name);
|
||||
|
Loading…
Reference in New Issue
Block a user