]> source.dussan.org Git - rspamd.git/commitdiff
Revert "[Minor] Fix percent sign in statistics learning condition"
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Jul 2016 10:28:04 +0000 (11:28 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Jul 2016 10:28:22 +0000 (11:28 +0100)
This reverts commit e53fd5ab0ce04b6eddb7ef24a1fccfd013c705d0.

conf/statistic.conf

index b9b675776dc1f626e3058cc9d2b6bcdb47f0737d..17aa29d4b1414708bc8a01786d388aa330bf55e9 100644 (file)
@@ -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