From 49bfb5660931ae180c0a6f50786f3f6f89dbbf5b Mon Sep 17 00:00:00 2001 From: Cédric Picard Date: Sat, 29 Nov 2014 00:44:40 +0100 Subject: Fixed error 500 on raw: removed a redundant line --- pasteme.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3