send-email: fix bug selecting addl. branches After Nab's updates adding binary ref support, this was broken.
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht/blueprints/email.py
M gitsrht/blueprints/email.py => gitsrht/blueprints/email.py +1 -1
@@ 38,7 38,7 @@ def render_send_email_start(owner, repo, git_repo, selected_branch, ) for branch in git_repo.raw_listall_branches(pygit2.GIT_BRANCH_LOCAL)] branches = sorted(branches, key=lambda b: (b[0] == selected_branch, commit_time(b[2])), key=lambda b: (b[0].decode() == selected_branch, commit_time(b[2])), reverse=True) commits = dict()