summaryrefslogtreecommitdiffstats
path: root/gitsrht/blueprints/repo.py
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-09 08:43:24 -0500
committerDrew DeVault <sir@cmpwn.com>2018-11-09 08:45:20 -0500
commitacfb2b7f5bb2b197e66c9ed60312df0a4976a319 (patch)
treef972e5b73ba4b121f9393d522f0d65ea6c9a9d88 /gitsrht/blueprints/repo.py
parentfffa8d0bca2860bcb19392eafbea2aa8f6643fb0 (diff)
Bump version of markdown cache
Should fix READMEs that are using GitHub-flavored markdown
Diffstat (limited to 'gitsrht/blueprints/repo.py')
-rw-r--r--gitsrht/blueprints/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index c9672fe..01b0470 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
@@ -29,7 +29,7 @@ def get_readme(repo, tip):
readme = tip.tree["README.md"]
if readme.type != "blob":
return None
- key = f"git.sr.ht:git:markdown:{readme.id.hex}:v2"
+ key = f"git.sr.ht:git:markdown:{readme.id.hex}:v3"
html = redis.get(key)
if html:
return Markup(html.decode())