diff options
Diffstat (limited to 'gitsrht/blueprints/repo.py')
-rw-r--r-- | gitsrht/blueprints/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py index a12bf8e..abd156e 100644 --- a/gitsrht/blueprints/repo.py +++ b/gitsrht/blueprints/repo.py @@ -48,7 +48,7 @@ def get_readme(repo, tip, link_prefix=None): link_prefix=link_prefix) def _highlight_file(repo, ref, name, data, blob_id): - annotations = redis.get(f"git.sr.ht:git:annotations:{blob_id}") + annotations = redis.get(f"git.sr.ht:git:annotations:{repo.id}:{blob_id}") if annotations: annotations = json.loads(annotations.decode()) link_prefix = url_for( |