]> git.cworth.org Git - turbot/blobdiff - turbot/hunt.py
Collapse link text inserted into sheets
[turbot] / turbot / hunt.py
index c2e59e2be937c4577e7696f80b01fce51356e05d..5bbbbc6cd6e77f72aabd1717b7b83f2dff6c44c7 100644 (file)
@@ -54,8 +54,9 @@ def hunt_blocks(turb, hunt, puzzle_status='unsolved', search_terms=[],
                     all of these terms will be included in the
                     result. A match will be considered on any of
                     puzzle title, round title, puzzle URL, puzzle
-                    state or solution string. Terms can include
-                    regular expression syntax.
+                    state, puzzle type, tags, or solution
+                    string. Terms can include regular expression
+                    syntax.
 
       limit_to_rounds: A list of rounds. If provided only the given
                        rounds will be included in the output. Note:
@@ -113,8 +114,11 @@ def hunt_blocks(turb, hunt, puzzle_status='unsolved', search_terms=[],
     ]
 
     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