mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-03 14:56:13 +00:00
Fix flake8 E721
This commit is contained in:
parent
6a99d8ef4b
commit
415fa8ce97
5 changed files with 12 additions and 8 deletions
|
@ -619,7 +619,7 @@ def browse(media, view_id=None, folder=None, server_id=None, api_client=None):
|
|||
|
||||
actions = Actions(server_id, api_client)
|
||||
list_li = []
|
||||
listing = listing if type(listing) == list else listing.get("Items", [])
|
||||
listing = listing if isinstance(listing, list) else listing.get("Items", [])
|
||||
|
||||
for item in listing:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue