Fix refactoring errors
This commit is contained in:
parent
378062f541
commit
4c7f481634
2 changed files with 2 additions and 3 deletions
|
@ -48,7 +48,7 @@ class SVGTemplate:
|
|||
# if '$subtitle' in task.parameters and task.parameters['$subtitle'] == '':
|
||||
# child = svg.findall(".//*[@id='subtitle']")[0]
|
||||
# child.getparent().remove(child)
|
||||
self.xmlstr = etree.tostring(svg, encoding='unicode')
|
||||
self.svgstr = etree.tostring(svg, encoding='unicode')
|
||||
|
||||
def __exit__(self, exception_type, exception_value, traceback):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue