Skip to content

Commit

Permalink
🐛 no need for root in XML
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefEZ committed May 20, 2023
1 parent 7b5a142 commit cd72c24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qalib/translators/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def __init__(self, source: str):
source (str): the text of the XML file
"""
self.source = source
self.root = ElementTree.fromstring(source)

def template(self, template_engine: TemplateEngine, keywords: Dict[str, Any]) -> str:
"""This method is used to template an element, by identifying it by its key and using the template engine to
Expand Down

0 comments on commit cd72c24

Please sign in to comment.