]> git.cworth.org Git - turbot/commitdiff
Add a divider between rounds in the /hunt output
authorCarl Worth <cworth@cworth.org>
Sat, 9 Jan 2021 11:22:25 +0000 (03:22 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 9 Jan 2021 11:23:59 +0000 (03:23 -0800)
Just to make it a little easier to see the grouping of rounds.

turbot/hunt.py

index edc8b87c4c2365394a2abcc5163928ec41bdfde8..1c2ee0e1120c579d8462e65cb721e29c95c122dc 100644 (file)
@@ -120,6 +120,7 @@ def hunt_blocks(turb, hunt, puzzle_status='unsolved', search_terms=[],
             blocks += round_blocks(round, puzzles, omit_header=True)
         else:
             blocks += round_blocks(round, puzzles)
+        blocks.append(divider_block())
 
     # Also blocks for any puzzles not in any round
     stray_puzzles = [puzzle for puzzle in puzzles if 'rounds' not in puzzle]