mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Changed the warning log to a debug log.
This commit is contained in:
parent
df3d7a4ecb
commit
eace0b5c55
@ -133,7 +133,7 @@ class Bayes(callbacks.Privmsg):
|
|||||||
(kind, prob) = kind
|
(kind, prob) = kind
|
||||||
prob *= 100
|
prob *= 100
|
||||||
text = utils.ellipsisify(text, 30)
|
text = utils.ellipsisify(text, 30)
|
||||||
self.log.warning('Classified %r as %s. (%.2f%%)', text, kind, prob)
|
self.log.debug('Classified %r as %s. (%.2f%%)', text, kind, prob)
|
||||||
self.db.trainNick(channel, msg.nick, text)
|
self.db.trainNick(channel, msg.nick, text)
|
||||||
|
|
||||||
def guess(self, irc, msg, args, channel, text):
|
def guess(self, irc, msg, args, channel, text):
|
||||||
|
Loading…
Reference in New Issue
Block a user