From e19613fd322c39eff8072f8d18db1a442d4b3615 Mon Sep 17 00:00:00 2001 From: Christophe de Vienne Date: Fri, 26 Oct 2012 14:53:47 +0200 Subject: [PATCH] Make json the default format --- wsme/pecan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsme/pecan.py b/wsme/pecan.py index db26986..107842b 100644 --- a/wsme/pecan.py +++ b/wsme/pecan.py @@ -68,8 +68,8 @@ def wsexpose(*args, **kwargs): result=result ) - pecan_json_decorate(callfunction) pecan_xml_decorate(callfunction) + pecan_json_decorate(callfunction) pecan.util._cfg(callfunction)['argspec'] = inspect.getargspec(f) return callfunction