mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Simplify logical expression using De Morgan idents
This commit is contained in:
parent
bfc18e7d4b
commit
785d0d4844
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ class Actions(object):
|
||||||
obj['Artwork']['Backdrop'] = obj['Artwork']['Backdrop'] or []
|
obj['Artwork']['Backdrop'] = obj['Artwork']['Backdrop'] or []
|
||||||
obj['Artwork']['Thumb'] = obj['Artwork']['Thumb'] or ""
|
obj['Artwork']['Thumb'] = obj['Artwork']['Thumb'] or ""
|
||||||
|
|
||||||
if not intro and not obj['Type'] == 'Trailer':
|
if not intro and obj['Type'] != 'Trailer':
|
||||||
obj['Artwork']['Primary'] = obj['Artwork']['Primary'] \
|
obj['Artwork']['Primary'] = obj['Artwork']['Primary'] \
|
||||||
or "special://home/addons/plugin.video.jellyfin/resources/icon.png"
|
or "special://home/addons/plugin.video.jellyfin/resources/icon.png"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue