fix path substitution

pull/702/head
Luke Pulverenti 10 years ago
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…
Cancel
Save