From b8c0eb0a3b8adad05c707c64b605e90e76726c65 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 24 May 2009 22:01:12 +0200 Subject: [PATCH] Updated web/__init__.py. Added anchor. --- www/web/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/web/__init__.py b/www/web/__init__.py index 32fd65d9..6b9cf0a2 100644 --- a/www/web/__init__.py +++ b/www/web/__init__.py @@ -9,6 +9,9 @@ import simplejson as json from http import HTTPResponse, WebError +import cgitb +cgitb.enable() + class Data: def __init__(self): self.output = "" @@ -171,7 +174,7 @@ class Languages: class Box(Data): def __init__(self, headline, subtitle=""): Data.__init__(self) - self.w("""

%s

""" % (headline,)) + self.w("""

%s

""" % (headline,headline,)) if subtitle: self.w("""""" % (subtitle,)) -- 2.47.3