mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Diskprovider cleanup.
This commit is contained in:
parent
345b20f55f
commit
601cd31a1f
5 changed files with 21 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue