mirror of https://github.com/dirtbags/moth.git
Correct puzzle file link
This commit is contained in:
parent
99a3502617
commit
17fe6cc779
|
@ -150,7 +150,7 @@ you are a fool.
|
|||
body.write("<h2>Files</h2>")
|
||||
body.write("<ul>")
|
||||
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))
|
||||
body.write("</ul>")
|
||||
body.write("<h2>Answers</h2>")
|
||||
|
|
Loading…
Reference in New Issue