Set write time on destination season folder - oops

pull/6/head
Mark McDowall 11 years ago
parent 88afc19716
commit 1e0c053bd3

@ -78,7 +78,7 @@ namespace NzbDrone.Core.MediaFiles
if (series.SeasonFolder) if (series.SeasonFolder)
{ {
var seasonFolder = Path.GetDirectoryName(episodeFile.Path); var seasonFolder = Path.GetDirectoryName(destinationFilename);
_logger.Trace("Setting last write time on season folder: {0}", seasonFolder); _logger.Trace("Setting last write time on season folder: {0}", seasonFolder);
_diskProvider.SetFolderWriteTime(seasonFolder, episodeFile.DateAdded); _diskProvider.SetFolderWriteTime(seasonFolder, episodeFile.DateAdded);

Loading…
Cancel
Save