Trim quotes from dsm version parts

This commit is contained in:
Qstick 2017-11-25 22:15:42 -05:00
parent eed81144f6
commit b90f58763a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}