Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
MattTJung committed Mar 13, 2024
1 parent 3ed370f commit 3582936
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate_oops_request_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def generate_request_content(input_path):
with open(input_path, 'r', encoding='utf-8') as f:
rdfcontent = f.read()

xmldata = ET.fromstring("""<?xml version="1.0" encoding="UTF-8"?>
tree = ET.ElementTree(ET.fromstring("""<?xml version="1.0" encoding="UTF-8"?>
<OOPSRequest>
<OntologyURI></OntologyURI>
<OntologyContent><![CDATA[
Expand All @@ -25,8 +25,8 @@ def generate_request_content(input_path):
<Pitfalls></Pitfalls>
<OutputFormat>XML</OutputFormat>
</OOPSRequest>
""")
return xmldata
"""))
return tree

if __name__ == '__main__':
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit 3582936

Please sign in to comment.