Calibre-companion now working (#79)

This commit is contained in:
OzzieIsaacs
2017-01-14 13:18:35 +01:00
parent 799d54bb24
commit 8759edd587
2 changed files with 9 additions and 3 deletions

View File

@ -638,7 +638,7 @@ def get_metadata_calibre_companion(uuid):
if entry is not None :
js = render_template('json.txt',entry=entry)
response = make_response(js)
response.headers["Content-Type"] = "application/json"
response.headers["Content-Type"] = "application/json; charset=utf-8"
return response
else:
return ""