1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

fix json validate (#112)

This commit is contained in:
Pascal Vizeli
2017-07-25 00:01:02 +02:00
committed by GitHub
parent dae49df7b1
commit 863456525f

View File

@@ -55,7 +55,7 @@ class APIAddons(object):
dev_list = addon.devices
if not dev_list:
return
return set(row.split(':')[0] for row in dev_list)
return [row.split(':')[0] for row in dev_list]
@api_process
async def list(self, request):