fix spacing error

pull/63/head
Mallory Hancock 2019-03-02 10:50:43 -08:00
parent 76dba086b3
commit f329a03350
1 changed files with 2 additions and 2 deletions

View File

@ -256,9 +256,9 @@ class Bot(irc.bot.SingleServerIRCBot):
self.logger.error('output message too long: {}'.format(msg))
elif output.msg_type == pinhook.plugin.OutputType.Action:
self.logger.debug('output action: {}'.format(msg))
try:
try:
c.action(chan, msg)
except c.MessageTooLong:
except c.MessageTooLong:
self.logger.error('output message too long: {}'.format(msg))
else:
self.logger.warning("Unsupported output type '{}'".format(output.msg_type))