From c1f3d14cd6f589030c95dabd9a0d4b3c7582b489 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 16 Jan 2021 08:11:23 -0800 Subject: [PATCH] Fix missing case of nested array Hoping we're there now with this fix? --- turbot/hunt.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/turbot/hunt.py b/turbot/hunt.py index 7b515d2..5edd443 100644 --- a/turbot/hunt.py +++ b/turbot/hunt.py @@ -116,10 +116,12 @@ def hunt_blocks(turb, hunt, puzzle_status='unsolved', search_terms=[], hunt_text += " matching {}".format(" AND ".join(quoted_terms)) blocks = [ - accessory_block( - section_block(text_block(hunt_text)), - button_block("✏", "edit_hunt", hunt_id) - ) + [ + accessory_block( + section_block(text_block(hunt_text)), + button_block("✏", "edit_hunt", hunt_id) + ) + ] ] block = blocks[0] -- 2.43.0