Skip to content

Commit

Permalink
[web_api] fix error while scanning shows
Browse files Browse the repository at this point in the history
Signed-off-by: Sandmann79 <sandmann79@gmx.net>
  • Loading branch information
Sandmann79 committed Apr 22, 2024
1 parent 9024d15 commit 72f6150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.video.amazon-test/resources/lib/web_api.py
Expand Up @@ -1013,7 +1013,7 @@ def ParseSinglePage(oid, o, bCacheRefresh, data=None, url=None):
# "collections": {"amzn1.dv.gti.[…]": [{"titleIds": ["amzn1.dv.gti.[…]", "amzn1.dv.gti.[…]"]}]}
for gti, lc in state['collections'].items():
for le in lc:
for e in le['titleIds']:
for e in le.get('titleIds', le.get('cardTitleIds', [])):
GTIs.append(e)
# Save parent/children relationships
parents[e] = gti
Expand Down

0 comments on commit 72f6150

Please sign in to comment.