mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Stop bolding exception.
This commit is contained in:
parent
81d1d56b04
commit
6d1092957a
@ -115,9 +115,9 @@ class IrcFormatter(log.Formatter):
|
||||
class ColorizedIrcFormatter(IrcFormatter):
|
||||
def formatException(self, (E, e, tb)):
|
||||
if conf.supybot.plugins.LogToIrc.colorized():
|
||||
return ircutils.bold(ircutils.mircColor(
|
||||
IrcFormatter.formatException(self, (E, e, tb)),
|
||||
fg='red'))
|
||||
return ircutils.mircColor(IrcFormatter.formatException(self,
|
||||
(E, e, tb)),
|
||||
fg='red')
|
||||
else:
|
||||
return IrcFormatter.formatException(self, (E, e, tb))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user