diff options
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 |