fix path substitution

This commit is contained in:
Luke Pulverenti 2014-06-01 19:20:30 -04:00
parent 37683565e7
commit 36648d2708

View file

@ -357,11 +357,11 @@ namespace MediaBrowser.Common.Implementations.IO
{
if (to.IndexOf('/') != -1)
{
newPath = path.Replace('\\', '/');
newPath = newPath.Replace('\\', '/');
}
else
{
newPath = path.Replace('/', '\\');
newPath = newPath.Replace('/', '\\');
}
}