python: Moved the Python 3 files to their own directory and restored Python 2 files.
[ashd.git] / python / ashd / wsgiutil.py
index 5fe7535..b947407 100644 (file)
@@ -25,6 +25,5 @@ def simpleerror(env, startreq, code, title, 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]