fixed garbage leak
This commit is contained in:
parent
34e66acbba
commit
6fb3aa5afc
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue