Fixed: don't try to delete series folder if it doesn't exist

This commit is contained in:
Mark McDowall
2014-07-31 23:57:17 -07:00
parent ff99c383da
commit f657afc424
2 changed files with 8 additions and 4 deletions
@@ -170,7 +170,10 @@ namespace NzbDrone.Core.MediaFiles
{
if (message.DeleteFiles)
{
DeleteFolder(message.Series.Path);
if (_diskProvider.FolderExists(message.Series.Path))
{
DeleteFolder(message.Series.Path);
}
}
}