Fixed reassignment message
This commit is contained in:
parent
b76b63b84b
commit
4a426a0335
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue