summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck_checkers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/check_checkers.py b/check_checkers.py
index fd4472e..e46bb12 100755
--- a/check_checkers.py
+++ b/check_checkers.py
@@ -235,7 +235,11 @@ def run(
'checker_results': checker_results,
}
- anchor = html.escape(puzzle.rsplit('/', maxsplit=1)[1]).replace('.py', '').replace('_', '-')
+ anchor = (
+ html.escape(puzzle.rsplit('/', maxsplit=1)[1])
+ .replace('.py', '')
+ .replace('_', '-')
+ )
out.write('<tr><td id="{0}"><a href="#{0}">{0}</a>'.format(anchor))
with open(puzzle) as f:
code = f.read()