mirror of https://github.com/dirtbags/moth.git
Correct puzzle file link
This commit is contained in:
parent
2065274bc8
commit
940229b0ee
|
@ -150,7 +150,7 @@ you are a fool.
|
||||||
body.write("<h2>Files</h2>")
|
body.write("<h2>Files</h2>")
|
||||||
body.write("<ul>")
|
body.write("<ul>")
|
||||||
for name in puzzle.files:
|
for name in puzzle.files:
|
||||||
body.write('<li><a href="/{cat}/{points}/{filename}">{filename}</a></li>'
|
body.write('<li><a href="/puzzles/{cat}/{points}/{filename}">{filename}</a></li>'
|
||||||
.format(cat=parts[2], points=puzzle.points, filename=name))
|
.format(cat=parts[2], points=puzzle.points, filename=name))
|
||||||
body.write("</ul>")
|
body.write("</ul>")
|
||||||
body.write("<h2>Answers</h2>")
|
body.write("<h2>Answers</h2>")
|
||||||
|
|
Loading…
Reference in New Issue