]
if not len(puzzles):
+ text = "No puzzles found."
+ if puzzle_status != 'all':
+ text += ' (Consider searching for "all" puzzles?)'
blocks += [
- section_block(text_block("No puzzles found."))
+ section_block(text_block(text))
]
# Construct blocks for each round