fix path substitution
This commit is contained in:
parent
37683565e7
commit
36648d2708
|
@ -357,11 +357,11 @@ namespace MediaBrowser.Common.Implementations.IO
|
||||||
{
|
{
|
||||||
if (to.IndexOf('/') != -1)
|
if (to.IndexOf('/') != -1)
|
||||||
{
|
{
|
||||||
newPath = path.Replace('\\', '/');
|
newPath = newPath.Replace('\\', '/');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newPath = path.Replace('/', '\\');
|
newPath = newPath.Replace('/', '\\');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user