From 91e11c41da4ecd109e4b740c5c17deb9f3d9862d Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 7 Oct 2018 14:15:15 -0500 Subject: [PATCH] Move logging line to proper if statement. --- mojojojo-bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojojojo-bot.py b/mojojojo-bot.py index 731507c..bb82e6e 100644 --- a/mojojojo-bot.py +++ b/mojojojo-bot.py @@ -162,9 +162,9 @@ if __name__ == "__main__": if command: handle_command(command, channel) if results_file.is_file(): + logging.info("the if statement passed!") react_to_monitoring() if reactable_message(event): - logging.info("the if statement passed!") channel = event['channel'] text = event['text'] reactions_needed = reactable_string(text)