1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-19 21:46:43 -04:00

Don't list drives that aren't available.

This commit is contained in:
Taloth Saldono
2015-07-17 23:51:33 +02:00
parent ada5919136
commit 08ebc8d292
@@ -380,6 +380,7 @@ namespace NzbDrone.Common.Disk
{ {
return DriveInfo.GetDrives() return DriveInfo.GetDrives()
.Where(d => d.DriveType == DriveType.Fixed || d.DriveType == DriveType.Network) .Where(d => d.DriveType == DriveType.Fixed || d.DriveType == DriveType.Network)
.Where(d => d.IsReady)
.ToList(); .ToList();
} }