Diskprovider cleanup.

This commit is contained in:
kay.one
2013-09-11 23:52:37 -07:00
parent 345b20f55f
commit 601cd31a1f
5 changed files with 21 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
return true;
}
if (_diskProvider.IsFileLocked(new FileInfo(localEpisode.Path)))
if (_diskProvider.IsFileLocked(localEpisode.Path))
{
_logger.Trace("{0} is in use");
return false;