mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
pylint
This commit is contained in:
parent
c80683bb15
commit
cde3f670c2
@ -203,7 +203,7 @@ def _encode_complex(value):
|
||||
_encode(key): _encode_complex(value)
|
||||
for key, value in value.items()
|
||||
}
|
||||
elif isinstance(value, list):
|
||||
if isinstance(value, list):
|
||||
return [_encode_complex(val) for val in value]
|
||||
|
||||
new_value = _encode(value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user