From e31d9750ed0a7c26e16cf810abd4806fd01de29f Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 20 Nov 2018 13:23:11 +0000 Subject: [PATCH] (for the moment) remove percentage-ising scores (mixed_unicode.py) --- modules/mixed_unicode.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/mixed_unicode.py b/modules/mixed_unicode.py index 7bedf4cd..82680549 100644 --- a/modules/mixed_unicode.py +++ b/modules/mixed_unicode.py @@ -67,7 +67,5 @@ class Module(ModuleManager.BaseModule): last_was_separator = False - score = score/(len(event["message"])/SCORE_LENGTH) - score = round(score, 2) if score > 0: self.log.trace("Message given a mixed-unicode score of %s", [score])