mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 13:12:45 +01:00
Aka: Fix crash when logging (on Python 2).
This commit is contained in:
parent
e5bac7e023
commit
13bf8c2915
@ -375,7 +375,7 @@ class Aka(callbacks.Plugin):
|
||||
alias += ' $*'
|
||||
try:
|
||||
self._add_aka(channel, name, alias)
|
||||
self.log.info('Adding Aka %q for %q (from %s)',
|
||||
self.log.info('Adding Aka %r for %r (from %s)',
|
||||
name, alias, msg.prefix)
|
||||
irc.replySuccess()
|
||||
except AkaError as e:
|
||||
@ -398,7 +398,7 @@ class Aka(callbacks.Plugin):
|
||||
channel = arg
|
||||
try:
|
||||
self._remove_aka(channel, name)
|
||||
self.log.info('Removing Aka %q (from %s)', name, msg.prefix)
|
||||
self.log.info('Removing Aka %r (from %s)', name, msg.prefix)
|
||||
irc.replySuccess()
|
||||
except AkaError as e:
|
||||
irc.error(str(e))
|
||||
|
Loading…
Reference in New Issue
Block a user