Skip to content

Commit

Permalink
cleaned isFalling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Freedisch authored Feb 12, 2024
1 parent b423252 commit d076619
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions aimodel/isFalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ def reverst_data():
if say_element is not None:
say_element.text = say_element.text.replace('Friend', name)

# Save the modified XML
# with open('response.xml', 'w') as file:
# file.write(ET.tostring(response_tree).decode('utf-8'))
output_xml = ET.tostring(response_tree, encoding='utf-8').decode('utf-8')
output_xml = '<?xml version="1.0" encoding="UTF-8"?>\n' + output_xml

Expand All @@ -199,8 +196,7 @@ def call():
name = i['name']
print("Test", phone)
print("Test", name)
#safe_call(phone, name)
#safe_message(phone, name)

return Response(json_data)

if __name__ == '__main__':
Expand Down

0 comments on commit d076619

Please sign in to comment.