Fixed reassignment message

This commit is contained in:
Jacob Henry 2018-11-28 16:26:04 -05:00
parent b76b63b84b
commit 4a426a0335
1 changed files with 4 additions and 3 deletions

View File

@ -231,9 +231,10 @@ async def reassign_callback(slack: SlackClient, msg: dict, match: Match) -> None
context.assign.assignee = to_bro
# Say we did it
slack_util.reply(slack, msg, "Toggled lateness of {}.\n"
"Now marked as late: {}".format(context.assign.job.pretty_fmt(),
context.assign.late))
reassign_msg = "Job {} reassigned from {} to {}".format(context.assign.job.pretty_fmt(),
from_bro,
to_bro)
slack_util.reply(slack, msg, reassign_msg)
# Tell the people
reassign_msg = "Job {} reassigned from {} to {}".format(context.assign.job.pretty_fmt(),