diff options
author | Cédric Picard <cedric.picard@efrei.net> | 2014-11-29 00:21:32 +0100 |
---|---|---|
committer | Cédric Picard <cedric.picard@efrei.net> | 2014-11-29 00:21:32 +0100 |
commit | ed1f1912d8352efd0f4c5dd19140dd15733182f6 (patch) | |
tree | d7b64f0a2421141cc9693ea5d553968e8786e04f /pasteme.py | |
parent | 27e56e46a13c442fd00eaa7eebf684d69241f2df (diff) | |
parent | 15ae36b56a3b7fefc2f55777f79aa1c02ff30b1a (diff) | |
download | pasteme-ed1f1912d8352efd0f4c5dd19140dd15733182f6.tar.gz pasteme-ed1f1912d8352efd0f4c5dd19140dd15733182f6.tar.bz2 pasteme-ed1f1912d8352efd0f4c5dd19140dd15733182f6.zip |
Merge branch 'dev' of git://git.devys.org/pasteme into dev
Diffstat (limited to 'pasteme.py')
-rwxr-xr-x | pasteme.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ def route_paste_get(pid, pformat='colored'): content = pygments.highlight(content, lexer, pygment_formater) except pygments.util.ClassNotFound: pass - return bottle.template('paste', content=content) + return bottle.template('paste', content=content, pid=pid) bottle.response.content_type = 'text/plain; charset=UTF8' # HTTP header bottle.response.charset = 'utf-8' # used to encode response return content |