Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Fixed a couple of misses.
[ashd.git]
/
python
/
ashd
/
wsgiutil.py
diff --git
a/python/ashd/wsgiutil.py
b/python/ashd/wsgiutil.py
index
5fe7535
..
b947407
100644
(file)
--- a/
python/ashd/wsgiutil.py
+++ b/
python/ashd/wsgiutil.py
@@
-25,6
+25,5
@@
def simpleerror(env, startreq, code, title, msg):
<p>%s</p>
</body>
</html>""" % (title, title, htmlquote(msg))
<p>%s</p>
</body>
</html>""" % (title, title, htmlquote(msg))
- buf = buf.encode("ascii")
startreq("%i %s" % (code, title), [("Content-Type", "text/html"), ("Content-Length", str(len(buf)))])
return [buf]
startreq("%i %s" % (code, title), [("Content-Type", "text/html"), ("Content-Length", str(len(buf)))])
return [buf]