~sircmpwn/todo.sr.ht

e087f50a96fa96c4697529e2598315c4bc1f5c4d — Drew DeVault 2 months ago 4d7cd02 0.64.17
Fix extraneous "None" in ticket_comment email
1 files changed, 1 insertions(+), 1 deletions(-)

M todosrht/tickets.py
M todosrht/tickets.py => todosrht/tickets.py +1 -1
@@ 190,7 190,7 @@ def _send_comment_notification(subscription, ticket,
        ticket=ticket,
        comment=comment,
        comment_text=format_lines(comment.text) if comment else "",
        resolution=f"""Ticket resolved: {resolution.name}\n\n""" if resolution else None,
        resolution=f"""Ticket resolved: {resolution.name}\n\n""" if resolution else "",
        ticket_url=url)

def _change_ticket_status(ticket, resolve, resolution, reopen):