Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor corrections
  • Loading branch information
Klaus Thoden committed Oct 30, 2017
1 parent 94903dd commit 2daba58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tralics2tei.py
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-

import sys
Expand Down Expand Up @@ -411,7 +411,7 @@ def main():
back_part = etree.SubElement(tei_body, "back")
tei_body.insert(1, tei_body_xml.getroot())

outfile = 'converted_to_TEI.xml'
outfile = 'CONVERT/TEI.xml'
output_string = etree.tostring(tei_root, xml_declaration=True, pretty_print=True, encoding="UTF-8", doctype= '<?xml-model href="eoa_tei.rnc" type="application/relax-ng-compact-syntax"?>\n<?xml-stylesheet type="text/css" href="tei.css" ?>')

with open(outfile, 'w') as output_file:
Expand Down

0 comments on commit 2daba58

Please sign in to comment.