muryshev commited on
Commit
2cf45bf
·
1 Parent(s): 1eec172

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -74,8 +74,6 @@ def log(req: str = '', resp: str = ''):
74
  req_element.text = req
75
  resp_element = ET.SubElement(element, "response")
76
  resp_element.text = resp
77
-
78
- element.text = "\n".join(article["content"])
79
 
80
  with open(destination_path, "ab+") as xml_file:
81
  xml_file.write(ET.tostring(element, encoding="utf-8"))
 
74
  req_element.text = req
75
  resp_element = ET.SubElement(element, "response")
76
  resp_element.text = resp
 
 
77
 
78
  with open(destination_path, "ab+") as xml_file:
79
  xml_file.write(ET.tostring(element, encoding="utf-8"))