]> git.cworth.org Git - turbot/commitdiff
Remove some recently-added debugging print statements
authorCarl Worth <cworth@cworth.org>
Mon, 15 Nov 2021 23:54:31 +0000 (15:54 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 15 Nov 2021 23:55:26 +0000 (15:55 -0800)
After determining the actual problem.

turbot/events.py
turbot/interaction.py

index 4186e1891b9c799a6244e00417299f4d248ac7ee..eb5bcc46c69a8e8bfa09c275081a6f650e71de69 100644 (file)
@@ -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))
index 4a36b71b9e074eead82ce4fbb1fbd51643825e5a..6a94a342b88004ef4a384027d61f437f2089aa48 100644 (file)
@@ -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)