If folder does not exist...

This commit is contained in:
Mark McDowall 2014-01-26 14:58:12 -08:00
parent 25ae19bf80
commit 543cc4e6c1
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace NzbDrone.Core.MediaFiles
var directoryName = new FileInfo(destinationFilename).DirectoryName;
if (_diskProvider.FolderExists(directoryName))
if (!_diskProvider.FolderExists(directoryName))
{
_diskProvider.CreateFolder(directoryName);
SetFolderPermissions(directoryName);