summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Picard <cedric.picard@efrei.net>2014-11-29 00:44:40 +0100
committerCédric Picard <cedric.picard@efrei.net>2014-11-29 00:44:40 +0100
commit49bfb5660931ae180c0a6f50786f3f6f89dbbf5b (patch)
tree87024645701ce6343327dd14394592f5f973f31e
parenta40fb5c091f33004a250e1128e56dad2701fc054 (diff)
downloadpasteme-49bfb5660931ae180c0a6f50786f3f6f89dbbf5b.tar.gz
pasteme-49bfb5660931ae180c0a6f50786f3f6f89dbbf5b.tar.bz2
pasteme-49bfb5660931ae180c0a6f50786f3f6f89dbbf5b.zip
Fixed error 500 on raw: removed a redundant line
-rwxr-xr-xpasteme.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index 6402032..c436a05 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -56,7 +56,6 @@ def route_paste_get(pid, pformat='colored'):
pass
return bottle.template('paste', content=content)
bottle.response.content_type = 'text/plain; charset=UTF8' # HTTP header
- bottle.response.charset = 'utf-8' # used to encode response
return content
@bottle.error(404)