Pass flake8
This commit is contained in:
parent
47bad9ecc9
commit
53b61d13f9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user