From 2efed234500547d5814b414970968dd7a09d5a01 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 14 Dec 2014 11:12:36 -0800 Subject: [PATCH] Fixed: Show human readable sizes in manual search rejections --- .../Specifications/AcceptableSizeSpecification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs index 0f6d94b57..cba9bdf4d 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs @@ -87,7 +87,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications if (subject.Release.Size > maxSize) { _logger.Debug("Item: {0}, Size: {1} is greater than maximum allowed size ({2}), rejecting.", subject, subject.Release.Size, maxSize); - return Decision.Reject("{0} is larger than maximum allowed: {1}", subject.Release.Size, maxSize); + return Decision.Reject("{0} is larger than maximum allowed: {1}", subject.Release.Size.SizeSuffix(), maxSize.SizeSuffix()); } }