Indentation normalization.
This commit is contained in:
parent
a74d675fac
commit
1379ae02e3
|
@ -371,9 +371,9 @@ Encoders and decoders
|
|||
|
||||
def default(self, o):
|
||||
try:
|
||||
iterable = iter(o)
|
||||
iterable = iter(o)
|
||||
except TypeError:
|
||||
pass
|
||||
pass
|
||||
else:
|
||||
return list(iterable)
|
||||
return JSONEncoder.default(self, o)
|
||||
|
|
Loading…
Reference in New Issue