From 07fe4d1c6eabb7d76c7b02779fc133867084a258 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Fri, 22 Feb 2019 13:55:48 -0800 Subject: [PATCH] fix critical bug --- pinhook/bot.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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',