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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def log(req: str = '', resp: str = ''):
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"))
80
 
81
  commit_url = repo.push_to_hub()
 
75
  resp_element = ET.SubElement(element, "response")
76
  resp_element.text = resp
77
 
78
+ with open(DATA_FILE, "ab+") as xml_file:
79
  xml_file.write(ET.tostring(element, encoding="utf-8"))
80
 
81
  commit_url = repo.push_to_hub()