mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 19:56:54 +00:00
Trim quotes from dsm version parts.
This commit is contained in:
parent
7a1c1064ae
commit
2c13fcf579
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ namespace NzbDrone.Mono.EnvironmentInfo.VersionAdapters
|
||||||
if (parts.Length >= 2)
|
if (parts.Length >= 2)
|
||||||
{
|
{
|
||||||
var key = parts[0];
|
var key = parts[0];
|
||||||
var value = parts[1];
|
var value = parts[1].Trim('"');
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(value))
|
if (!string.IsNullOrWhiteSpace(value))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue