summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')