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 3582936 commit e6331e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generate_oops_request_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ def generate_request_content(input_path):
with open(input_path, 'r', encoding='utf-8') as f:
rdfcontent = f.read()

tree = ET.ElementTree(ET.fromstring("""<?xml version="1.0" encoding="UTF-8"?>
tree = ET.ElementTree(ET.fromstring(f"""<?xml version="1.0" encoding="UTF-8"?>
<OOPSRequest>
<OntologyURI></OntologyURI>
<OntologyContent><![CDATA[
""" + rdfcontent + """
]]></OntologyContent>
<OntologyContent><![CDATA[{rdfcontent}]]></OntologyContent>
<Pitfalls></Pitfalls>
<OutputFormat>XML</OutputFormat>
</OOPSRequest>
Expand Down

0 comments on commit e6331e6

Please sign in to comment.