Fix error in common.cgi

This commit is contained in:
Terence Simpson 2008-11-01 16:45:33 +00:00
parent 12711d5b91
commit a0184a6c27

View File

@ -41,6 +41,7 @@ sys.stderr = IOWrapper()
def send_page(template):
data = sys.stdout.getvalue()
errdata = sys.stderr.getvalue()
sys.stdout = sys.__stdout__
sys.stderr = sys.__stderr__
print "Content-Type: text/html"