From a06d07f6e9773055d4208fc37ab1631d8be2add3 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 15 Nov 2021 15:54:31 -0800 Subject: [PATCH] Remove some recently-added debugging print statements After determining the actual problem. --- turbot/events.py | 3 --- turbot/interaction.py | 1 - 2 files changed, 4 deletions(-) diff --git a/turbot/events.py b/turbot/events.py index 4186e18..eb5bcc4 100644 --- a/turbot/events.py +++ b/turbot/events.py @@ -43,11 +43,8 @@ def home(turb, user_id): my_hunt_blocks = [] available_hunt_blocks = [] for hunt in hunts: - print("Generating turbot home view for hunt '" + hunt['hunt_id'] + "'") if not hunt['active']: - print("Never mind, that hunt is not active.") continue - print("Hunt '" + hunt['hunt_id'] + "' is active, moving forward.") if user_id in slack_channel_members(turb.slack_client, hunt['channel_id']): my_hunt_blocks.append(hunt_link_block(turb, hunt)) diff --git a/turbot/interaction.py b/turbot/interaction.py index 4a36b71..6a94a34 100644 --- a/turbot/interaction.py +++ b/turbot/interaction.py @@ -501,7 +501,6 @@ def new_hunt_command(turb, body): def new_hunt_button(turb, payload): """Handler for the action of user pressing the new_hunt button""" - print("In new_hunt_button with payload of: " + str(payload)) trigger_id = payload['trigger_id'] return new_hunt(turb, trigger_id) -- 2.43.0