From: Carl Worth Date: Sat, 16 Jan 2021 16:11:23 +0000 (-0800) Subject: Fix missing case of nested array X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=c1f3d14cd6f589030c95dabd9a0d4b3c7582b489 Fix missing case of nested array Hoping we're there now with this fix? --- 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]