Update supervisor.py

This commit is contained in:
Pascal Vizeli 2017-07-22 22:49:58 +02:00 committed by GitHub
parent c4d7d671d1
commit 58c5ed7ba1

View File

@ -50,7 +50,7 @@ class APISupervisor(object):
"""Return host information."""
list_addons = []
for addon in self.addons.list_addons:
if not addon.is_installed:
if addon.is_installed:
list_addons.append({
ATTR_NAME: addon.name,
ATTR_SLUG: addon.slug,