mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-24 08:42:19 +02:00
Trim quotes from dsm version parts.
This commit is contained in:
parent
7a1c1064ae
commit
2c13fcf579
@ -45,7 +45,7 @@ public OsVersionModel Read()
|
||||
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 @@ public OsVersionModel Read()
|
||||
|
||||
public bool Enabled => OsInfo.IsLinux;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user