From e7ee7e4b0645c8a79bdd6e42fe517d8a5abaee11 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 9 Jan 2021 02:35:23 -0800 Subject: [PATCH] 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. --- turbot/puzzle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.43.0