From: Carl Worth Date: Fri, 16 Oct 2020 20:26:21 +0000 (-0700) Subject: Rename 'channel' to 'channel_id' X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c06abc47680c1675a35f03dd6d3268f32eef88c4;p=turbot Rename 'channel' to 'channel_id' Tracking a change made to the (non-) schema of the database. Here 'channel_id' is more clear for how this is used, (where I would have expected 'channel' to be the actual name of the channel). --- diff --git a/turbot/views.py b/turbot/views.py index fdd5eeb..e05593d 100644 --- a/turbot/views.py +++ b/turbot/views.py @@ -47,7 +47,7 @@ def input(label, name, placeholder): } def hunt_block(hunt): - text = "{}: <#{}>".format(hunt['name'], hunt['channel']) + text = "{}: <#{}>".format(hunt['name'], hunt['channel_id']) return section(text_block(text)) def home(turb, user_id, body):