mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-27 00:34:30 +01:00
fixed linux path conversion.
This commit is contained in:
@@ -12,6 +12,7 @@ namespace NzbDrone.Test.Common
|
||||
if (path.Length > 2 && path[1] == ':')
|
||||
{
|
||||
path = path.Replace(':', Path.DirectorySeparatorChar);
|
||||
path = Path.DirectorySeparatorChar + path;
|
||||
}
|
||||
path = path.Replace("\\", Path.DirectorySeparatorChar.ToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user