1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

Changed Regex

This commit is contained in:
margaale
2017-08-17 14:14:11 -03:00
committed by Taloth Saldono
parent 58423d4b32
commit 13a9703eaa
@@ -52,7 +52,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
{
var info = GetInfo(settings);
Regex regex = new Regex(@"(\bDSM\b (?<version>[\d.]*)){1}");
Regex regex = new Regex(@"DSM (?<version>[\d.]*)");
var dsmVersion = regex.Match(info.Version).Groups["version"].Value;