~edwargix/git.sr.ht

3dc3d538065b7b1061ba9d359c123bb8869ca0d2 — Drew DeVault 6 years ago 8f62908
Fix git_user formatting
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 65,7 65,7 @@ def _highlight_file(repo, ref, name, data, blob_id):
def render_empty_repo(owner, repo):
    origin = cfg("git.sr.ht", "origin")
    git_user = cfg("git.sr.ht::dispatch", "/usr/bin/gitsrht-keys", "git:git").split(":")[0]
    urls = get_clone_urls(origin, owner, repo, '{git_user}@{origin}:{user}/{repo}')
    urls = get_clone_urls(origin, owner, repo, git_user + '@{origin}:{user}/{repo}')
    return render_template("empty-repo.html", owner=owner, repo=repo,
            clone_urls=urls)