1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

GetPathRoot for DownloadedEpisodesFolder

This commit is contained in:
Mark McDowall 2013-10-15 22:31:25 -07:00
parent d4fd731b34
commit af74ea967b

View File

@ -50,7 +50,7 @@ private IEnumerable<DiskSpace> GetDroneFactoryFreeSpace()
{
if (!String.IsNullOrWhiteSpace(_configService.DownloadedEpisodesFolder))
{
return GetDiskSpace(new[] { _configService.DownloadedEpisodesFolder });
return GetDiskSpace(new[] { _diskProvider.GetPathRoot(_configService.DownloadedEpisodesFolder) });
}
return new List<DiskSpace>();