summaryrefslogtreecommitdiff
path: root/bottle.py
diff options
context:
space:
mode:
Diffstat (limited to 'bottle.py')
-rwxr-xr-xbottle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bottle.py b/bottle.py
index b789dd5..04fdf6f 100755
--- a/bottle.py
+++ b/bottle.py
@@ -1994,6 +1994,7 @@ class JSONPlugin(object):
dumps = self.json_dumps
if not self.json_dumps: return callback
+ @functools.wraps(callback)
def wrapper(*a, **ka):
try:
rv = callback(*a, **ka)