Update jellyfin_kodi/entrypoint/default.py

Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
This commit is contained in:
mcarlton00 2021-10-06 19:05:27 -04:00 committed by GitHub
parent 85410639df
commit 0b3888aa32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,7 @@ class Events(object):
backup()
elif mode == 'restartservice':
window('jellyfin.restart.bool', True)
elif mode == None and not params:
elif mode is None and not params:
# Used when selecting "Browse" from a context menu, see #548
item_id = base_url.strip('/').split('/')[-1]
browse('', item_id, None, server, api_client)