fixed line length to satisfy travis

This commit is contained in:
ctlaltdefeat 2017-01-21 23:02:02 +02:00
parent a811c84e99
commit 592ee5f839

View File

@ -150,8 +150,8 @@ def json(body, status=200, headers=None, **kwargs):
:param headers: Custom Headers. :param headers: Custom Headers.
:param \**kwargs: Remaining arguments that are passed to the json encoder. :param \**kwargs: Remaining arguments that are passed to the json encoder.
""" """
return HTTPResponse(json_dumps(body, **kwargs), headers=headers, status=status, return HTTPResponse(json_dumps(body, **kwargs), headers=headers,
content_type="application/json") status=status, content_type="application/json")
def text(body, status=200, headers=None): def text(body, status=200, headers=None):