fixed garbage leak

This commit is contained in:
Darren Ranalli 2009-10-09 00:27:49 +00:00
parent 34e66acbba
commit 6fb3aa5afc
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ class HTMLTree(ET.ElementTree):
ET.ElementTree.__init__(self, root)
head = ET.SubElement(root, 'HEAD')
title = ET.SubElement(head, 'TITLE')
title.text = title
titleTag = ET.SubElement(head, 'TITLE')
titleTag.text = title
body = ET.SubElement(root, 'BODY')