]> git.cworth.org Git - turbot/blobdiff - turbot/round.py
Add an edit button next to each puzzle
[turbot] / turbot / round.py
index 3c4042be6a6d0e94094ba3282c8cc0198ae403b3..3a4266faae1483e4d2e68351de9a825f3eb1309f 100644 (file)
@@ -1,4 +1,4 @@
-from turbot.puzzle import puzzle_block
+from turbot.puzzle import puzzle_blocks
 from turbot.blocks import section_block, text_block
 
 def round_blocks(round, puzzles):
@@ -26,6 +26,6 @@ def round_blocks(round, puzzles):
             continue
         if round not in puzzle['rounds']:
             continue
-        blocks.append(puzzle_block(puzzle))
+        blocks += puzzle_blocks(puzzle)
 
     return blocks