mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-06 09:28:47 +00:00
Simplify boolean
This commit is contained in:
parent
ba164d1358
commit
b110f1cf13
9 changed files with 9 additions and 9 deletions
|
@ -95,7 +95,7 @@ class Actions(object):
|
|||
if choice is None:
|
||||
raise Exception("User backed out of resume dialog.")
|
||||
|
||||
item["resumePlayback"] = False if not choice else True
|
||||
item["resumePlayback"] = bool(choice)
|
||||
|
||||
if settings('enableCinema.bool') and not item["resumePlayback"]:
|
||||
self._set_intros(item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue