Mercurial > hg > kdocs
changeset 20:8e9357f5cb1b
Cosmetic bug fix: title of each generated page was wrong.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 09 Aug 2007 15:54:21 -0500 |
parents | a6a6640500ae |
children | 8dc7c0651c06 |
files | make/docdiridx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/docdiridx.py Thu Aug 09 15:50:05 2007 -0500 +++ b/make/docdiridx.py Thu Aug 09 15:54:21 2007 -0500 @@ -16,7 +16,7 @@ # Open output, write header and <pre> section (if any) out = open("%s/index.html" % name, "w") - out.write("<html>\n<title>%s</title>\n<body>\n<ul>\n" % sys.argv[1]) + out.write("<html>\n<title>%s</title>\n<body>\n<ul>\n" % name) lines = lines.split("00-INDEX",1) if lines[0]: out.write("<pre>%s</pre>\n" % lines[0]) lines = lines[1].split("\n")