diff --git a/pinhook/bot.py b/pinhook/bot.py index 19aaa03..70e71dc 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -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): diff --git a/setup.py b/setup.py index f481807..721a8c7 100755 --- a/setup.py +++ b/setup.py @@ -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',