From 935b9b1fb9bf09e94a631717744f35c5b37276c9 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 17 May 2010 22:46:58 -0600 Subject: [PATCH] Get rid of onload HTML thing --- bin/scoreboard | 3 +++ ctf/html.py | 1 - template.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/scoreboard b/bin/scoreboard index e2654f6..2c10ab6 100755 --- a/bin/scoreboard +++ b/bin/scoreboard @@ -157,6 +157,9 @@ def main(): if opts.html: hdr = ('' '' + '' '') body = chart.make_table() body += '\n' diff --git a/ctf/html.py b/ctf/html.py index 101c4d7..8dcb99f 100755 --- a/ctf/html.py +++ b/ctf/html.py @@ -19,7 +19,6 @@ def substitute(title, body, base=base, hdr='', body_class='', onload='', links=' body_class=body_class, base=base, links=links, - onload=onload, body=body) def serve(title, body, **kwargs): diff --git a/template.html b/template.html index cf5e6a6..a838e2e 100644 --- a/template.html +++ b/template.html @@ -8,7 +8,7 @@ $hdr - +

$title