summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-18 11:28:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-18 11:28:22 +0100
commita75380749cb238fa71c8a9c9cf4488fe77d0510e (patch)
tree2fb5918e908418e660980dc23ec3bea12e08b3e0
parent1ccd40a3c64ad8352ee5330ec52c135bd26adf9f (diff)
downloadrspamd-a75380749cb238fa71c8a9c9cf4488fe77d0510e.tar.gz
rspamd-a75380749cb238fa71c8a9c9cf4488fe77d0510e.zip
Revert "[Minor] Fix percent sign in statistics learning condition"
This reverts commit e53fd5ab0ce04b6eddb7ef24a1fccfd013c705d0.
-rw-r--r--conf/statistic.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index b9b675776..17aa29d4b 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -57,10 +57,10 @@ return function(task, is_spam, is_unlearn)
end
if is_unlearn and (not in_class) then
- return false,string.format('not in class %s; probability %.2f%%%%',
+ return false,string.format('not in class %s; probability %.2f%%',
cl, math.abs((prob - 0.5) * 200.0))
elseif (not is_unlearn) and in_class then
- return false,string.format('already in class %s; probability %.2f%%%%',
+ return false,string.format('already in class %s; probability %.2f%%',
cl, math.abs((prob - 0.5) * 200.0))
end
end