mirror of https://github.com/Sonarr/Sonarr
GetPathRoot for DownloadedEpisodesFolder
This commit is contained in:
parent
d4fd731b34
commit
af74ea967b
|
@ -50,7 +50,7 @@ namespace NzbDrone.Core.DiskSpace
|
||||||
{
|
{
|
||||||
if (!String.IsNullOrWhiteSpace(_configService.DownloadedEpisodesFolder))
|
if (!String.IsNullOrWhiteSpace(_configService.DownloadedEpisodesFolder))
|
||||||
{
|
{
|
||||||
return GetDiskSpace(new[] { _configService.DownloadedEpisodesFolder });
|
return GetDiskSpace(new[] { _diskProvider.GetPathRoot(_configService.DownloadedEpisodesFolder) });
|
||||||
}
|
}
|
||||||
|
|
||||||
return new List<DiskSpace>();
|
return new List<DiskSpace>();
|
||||||
|
|
Loading…
Reference in New Issue