Result is already unpacked

This commit is contained in:
Odd Stråbø 2022-10-18 18:58:30 +02:00
parent 16db25e876
commit 7b2051f883

View file

@ -264,11 +264,9 @@ class API(object):
False = Not installed, scheduled for uninstalling or disabled False = Not installed, scheduled for uninstalling or disabled
""" """
try: try:
res = self.get_plugins() # type: requests.Response
if res.ok:
kodi_sync_queue = [ kodi_sync_queue = [
x x
for x in res.json() for x in self.get_plugins()
if x.get("Id") == "771e19d653854cafb35c28a0e865cf63" if x.get("Id") == "771e19d653854cafb35c28a0e865cf63"
] ]