Commit db9d7d47 authored by frankdelange's avatar frankdelange

Fix double-encode error (fixes #1799)

parent 22d05b3e
......@@ -118,9 +118,9 @@ def response(resp):
'template': 'images.html'
}
try:
result['author'] = author.encode('utf-8')
result['title'] = title.encode('utf-8')
result['content'] = content.encode('utf-8')
result['author'] = author
result['title'] = title
result['content'] = content
except:
result['author'] = ''
result['title'] = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment