From b6f08df6eb32184e02713ead21c70d994742585a Mon Sep 17 00:00:00 2001 From: Jacob Henry Date: Sun, 3 Mar 2019 00:12:56 -0500 Subject: [PATCH] WIP --- slack_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slack_util.py b/slack_util.py index 737f1b5..76b96d5 100644 --- a/slack_util.py +++ b/slack_util.py @@ -118,7 +118,7 @@ class InteractiveContext: trigger_id: str # Used to open popups block_id: str # Identifies the block of the interacted component action_id: str # Identifies the interacted component - action_value: str # Identifies the selected value in the component + action_value: Optional[str] # Identifies the selected value in the component. None for buttons # If a file was additionally shared @@ -300,7 +300,7 @@ class ClientWrapper(object): payload["trigger_id"], action["block_id"], action["action_id"], - action["value"]) + action.get("value")) # Put it in the queue await event_queue.put(ev)