Move logging line to proper if statement.

master
jowj 6 years ago
parent 7e6432a138
commit 91e11c41da

@ -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)

Loading…
Cancel
Save