Pass flake8

This commit is contained in:
Jakob Bowyer 2017-03-02 12:34:38 +00:00
parent 47bad9ecc9
commit 53b61d13f9

View File

@ -8,6 +8,7 @@ try:
from ujson import loads as json_loads from ujson import loads as json_loads
except ImportError: except ImportError:
from json import loads as _json_loads from json import loads as _json_loads
def json_loads(i): def json_loads(i):
i = i.decode() if isinstance(i, bytes) else i i = i.decode() if isinstance(i, bytes) else i
return _json_loads(i) return _json_loads(i)