diff options
author | VG <vg@devys.org> | 2014-11-29 00:19:57 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2014-11-29 00:19:57 +0100 |
commit | 15ae36b56a3b7fefc2f55777f79aa1c02ff30b1a (patch) | |
tree | fd4a32ca48701fc7bdbab070955b64697ecade2b /pasteme.py | |
parent | 8abf1c607aa41886992496adf58dd8debd1d0a2e (diff) | |
download | pasteme-15ae36b56a3b7fefc2f55777f79aa1c02ff30b1a.tar.gz pasteme-15ae36b56a3b7fefc2f55777f79aa1c02ff30b1a.tar.bz2 pasteme-15ae36b56a3b7fefc2f55777f79aa1c02ff30b1a.zip |
add floating menu bar to access root and raw
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 |