If folder does not exist...

pull/2/head
Mark McDowall 11 years ago
parent 25ae19bf80
commit 543cc4e6c1

@ -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);

Loading…
Cancel
Save