awacke1 commited on
Commit
e4231e3
·
1 Parent(s): 49e8bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def read_file_content(file):
101
  tree = ET.parse(file)
102
  root = tree.getroot()
103
  #return ET.tostring(root, encoding='unicode')
104
- return CompressXML(ET.tostring(root, encoding='unicode',max_length))
105
  elif file.type == "text/markdown" or file.type == "text/md":
106
  md = mistune.create_markdown()
107
  content = md(file.read().decode())
 
101
  tree = ET.parse(file)
102
  root = tree.getroot()
103
  #return ET.tostring(root, encoding='unicode')
104
+ return CompressXML(ET.tostring(root, encoding='unicode',max_length)
105
  elif file.type == "text/markdown" or file.type == "text/md":
106
  md = mistune.create_markdown()
107
  content = md(file.read().decode())