mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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…
x
Reference in New Issue
Block a user