Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db9d7d47 authored by frankdelange's avatar frankdelange
Browse files

Fix double-encode error (fixes #1799)

parent 22d05b3e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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'] = ''