summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2014-11-28 17:59:15 +0100
committerVG <vg@devys.org>2014-11-28 17:59:15 +0100
commit9c7eb69147832d215b10535bc23dc7c56c2036b4 (patch)
tree489575424e0c164821846f1d772612134df8b822
parentea7170f068785f2fbe7e6857a94792e0483f9a6e (diff)
downloadpasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.tar.gz
pasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.tar.bz2
pasteme-9c7eb69147832d215b10535bc23dc7c56c2036b4.zip
fix raw display
-rwxr-xr-xpasteme.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index 55270ad..b76a685 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -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')