]> git.cworth.org Git - turbot/commitdiff
Fix a typo in a comment
authorCarl Worth <cworth@cworth.org>
Sat, 9 Jan 2021 10:35:23 +0000 (02:35 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 9 Jan 2021 10:35:23 +0000 (02:35 -0800)
This comment was supposed to refer to puzzle_id, not hunt_id, which
made it confusing for me until I fixed it as in this commit.

turbot/puzzle.py

index b7afc8a0beb57eb5daea281cc6e36673d873c8d2..5384ef10c96c4e1889265a03ab0324490ee6484e 100644 (file)
@@ -194,7 +194,7 @@ def puzzle_channel_topic(puzzle):
 def puzzle_channel_name(puzzle):
     """Compute the channel name for a puzzle"""
 
-    # Note: We don't use puzzle['hunt_id'] here because we're keeping
+    # Note: We don't use puzzle['puzzle_id'] here because we're keeping
     # that as a persistent identifier in the database. Instead we
     # create a new ID-like identifier from the current name.
     channel_name = "{}-{}".format(