From 53b61d13f9bf223355fbcc26ba4df5f9ceded91b Mon Sep 17 00:00:00 2001 From: Jakob Bowyer Date: Thu, 2 Mar 2017 12:34:38 +0000 Subject: [PATCH] Pass flake8 --- sanic/request.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sanic/request.py b/sanic/request.py index d555b95f..95daaa21 100644 --- a/sanic/request.py +++ b/sanic/request.py @@ -8,6 +8,7 @@ try: from ujson import loads as json_loads except ImportError: from json import loads as _json_loads + def json_loads(i): i = i.decode() if isinstance(i, bytes) else i return _json_loads(i)