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