From a0184a6c27e07abe1218bb81a95a8e356d1e4843 Mon Sep 17 00:00:00 2001 From: Terence Simpson Date: Sat, 1 Nov 2008 16:45:33 +0000 Subject: [PATCH] Fix error in common.cgi --- commoncgi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commoncgi.py b/commoncgi.py index afc6a0b..f2d2d5a 100644 --- a/commoncgi.py +++ b/commoncgi.py @@ -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"