[fix] unicode error with WolframAlpha API engine

This commit is contained in:
Marc Abonce Seguin 2019-01-08 20:22:16 -06:00
parent 2438b3c77a
commit 626a8e9ac9
2 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ def replace_pua_chars(text):
def response(resp):
results = []
search_results = etree.XML(resp.text)
search_results = etree.XML(resp.content)
# return empty array if there are no results
if search_results.xpath(failure_xpath):