Commits

imbolc  committed c591bd6

as_json fix

  • Participants
  • Parent commits 82aa65a

Comments (0)

Files changed (2)

File pysi/decorators.py

                     ct = 'application/x-javascript'
                 else:
                     ct = 'application/json'
-                return Response(res, content_type=ct, **response_kwargs)
+                res = Response(res, content_type=ct, **response_kwargs)
+            return res
             wrapper._pysi_urlname = get_urlname(func)
         return wrapper
     return decorator
 from setuptools import setup
 
 PACKAGE = 'pysi'
-VERSION = '0.5.1'
+VERSION = '0.5.2'
 
 if __name__ == '__main__':
     # Compile the list of packages available, because distutils doesn't have