mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Skip import when Series.Path doesn't exist
This commit is contained in:
parent
887456b337
commit
b5e196fcef
4 changed files with 50 additions and 6 deletions
|
@ -193,6 +193,9 @@ namespace NzbDrone.Common
|
|||
|
||||
public virtual ulong FreeDiskSpace(DirectoryInfo directoryInfo)
|
||||
{
|
||||
if (!directoryInfo.Exists)
|
||||
throw new DirectoryNotFoundException();
|
||||
|
||||
ulong freeBytesAvailable;
|
||||
ulong totalNumberOfBytes;
|
||||
ulong totalNumberOfFreeBytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue