TRACE log score with 2 decimal places (mixed_unicode.py)
This commit is contained in:
parent
3dccc9f4e0
commit
5ea34b261f
1 changed files with 1 additions and 1 deletions
|
@ -70,4 +70,4 @@ class Module(ModuleManager.BaseModule):
|
|||
score = score/(len(event["message"])/SCORE_LENGTH)
|
||||
score = round(score, 2)
|
||||
if score > 0:
|
||||
self.log.trace("Message given a mixed-unicode score of %f", [score])
|
||||
self.log.trace("Message given a mixed-unicode score of %s", [score])
|
||||
|
|
Loading…
Reference in a new issue