From: Carl Worth Date: Sat, 9 Jan 2021 10:35:23 +0000 (-0800) Subject: Fix a typo in a comment X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=e7ee7e4b0645c8a79bdd6e42fe517d8a5abaee11 Fix a typo in a comment 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. --- diff --git a/turbot/puzzle.py b/turbot/puzzle.py index b7afc8a..5384ef1 100644 --- a/turbot/puzzle.py +++ b/turbot/puzzle.py @@ -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(