mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed some issue around path normalization.
This commit is contained in:
parent
e269494ff8
commit
bfe4de7a08
7 changed files with 32 additions and 10 deletions
|
@ -91,7 +91,7 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
var target = GetTaggedFolderName(directory, status);
|
||||
|
||||
if (!String.Equals(target.NormalizePath(), directory.FullName.NormalizePath(), StringComparison.InvariantCultureIgnoreCase))
|
||||
if (!DiskProvider.PathEquals(target, directory.FullName))
|
||||
{
|
||||
Logger.Warn("Unable to download [{0}]. Status: {1}",directory.Name, status);
|
||||
_diskProvider.MoveDirectory(directory.FullName, target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue