Trim quotes from dsm version parts.

pull/2282/head
Taloth Saldono 7 years ago
parent 7a1c1064ae
commit 2c13fcf579

@ -45,7 +45,7 @@ namespace NzbDrone.Mono.EnvironmentInfo.VersionAdapters
if (parts.Length >= 2)
{
var key = parts[0];
var value = parts[1];
var value = parts[1].Trim('"');
if (!string.IsNullOrWhiteSpace(value))
{
@ -75,4 +75,4 @@ namespace NzbDrone.Mono.EnvironmentInfo.VersionAdapters
public bool Enabled => OsInfo.IsLinux;
}
}
}

Loading…
Cancel
Save