From 948e1dad3a3d0931584864edd18bd652cba77cc9 Mon Sep 17 00:00:00 2001 From: Jamie Rees Date: Tue, 22 May 2018 16:24:14 +0100 Subject: [PATCH] Fixed build --- src/Ombi.Core/Senders/TvSender.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Ombi.Core/Senders/TvSender.cs b/src/Ombi.Core/Senders/TvSender.cs index 549467feb..151ad0f7b 100644 --- a/src/Ombi.Core/Senders/TvSender.cs +++ b/src/Ombi.Core/Senders/TvSender.cs @@ -132,14 +132,14 @@ namespace Ombi.Core.Senders else { int.TryParse(s.QualityProfile, out qualityToUse); - } - - if (model.ParentRequest.QualityOverride.HasValue) - { // Get the root path from the rootfolder selected. // For some reason, if we haven't got one use the first root folder in Sonarr // TODO make this overrideable via the UI rootFolderPath = await GetSonarrRootPath(model.ParentRequest.RootFolder ?? int.Parse(s.RootPath), s); + } + + if (model.ParentRequest.QualityOverride.HasValue) + { qualityToUse = model.ParentRequest.QualityOverride.Value; }