fix critical bug

pull/60/head
Mallory Hancock 2019-02-22 13:55:48 -08:00
parent 73c3de9c99
commit 07fe4d1c6e
2 changed files with 3 additions and 2 deletions

View File

@ -201,7 +201,8 @@ class Bot(irc.bot.SingleServerIRCBot):
output = listen_output
except Exception as e:
self.logger.exception('issue with listener {}'.format(lstnr))
self.logger.debug(f'returning output: {output.msg}')
if output:
self.logger.debug(f'returning output: {output.msg}')
return output
def process_event(self, c, e):

View File

@ -73,7 +73,7 @@ class UploadCommand(Command):
# Where the magic happens:
setup(
name=NAME,
version='1.6.1',
version='1.6.2',
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',