From 31f2970b9cee84398a8bea8bcde2b46f84bff217 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 29 Aug 2020 13:02:21 +0200 Subject: Fix argument names in format function The argument names didn't match the names used in the template string. This bug was introduced in commit 63382c5. --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wee_slack.py b/wee_slack.py index 8c06fcb..fdc7224 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3597,7 +3597,7 @@ def process_subteam_updated(subteam_json, eventrouter, team, channel, metadata): if config.notify_usergroup_handle_updated and current_subteam_info.handle != new_subteam_info.handle: message = 'User group {old_handle} has updated its handle to {new_handle} in team {team}.'.format( - name=current_subteam_info.handle, handle=new_subteam_info.handle, team=team.name) + old_handle=current_subteam_info.handle, new_handle=new_subteam_info.handle, team=team.name) team.buffer_prnt(message, message=True) -- cgit