diff options
| author | VG <vg@devys.org> | 2014-11-28 17:59:15 +0100 |
|---|---|---|
| committer | VG <vg@devys.org> | 2014-11-28 17:59:15 +0100 |
| commit | 9c7eb69147832d215b10535bc23dc7c56c2036b4 (patch) | |
| tree | 489575424e0c164821846f1d772612134df8b822 | |
| parent | ea7170f068785f2fbe7e6857a94792e0483f9a6e (diff) | |
| download | pasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.tar.gz pasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.tar.bz2 pasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.zip | |
fix raw display
| -rwxr-xr-x | pasteme.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,8 @@ 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) + return content if __name__ == '__main__': print('I: Starting application with development server') |
