From: Carl Worth <cworth@cworth.org>
Date: Mon, 15 Nov 2021 23:54:31 +0000 (-0800)
Subject: Remove some recently-added debugging print statements
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=a06d07f6e9773055d4208fc37ab1631d8be2add3;p=turbot

Remove some recently-added debugging print statements

After determining the actual problem.
---

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)