mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Merge extend into list declaration
This commit is contained in:
parent
785d0d4844
commit
9d64ca41cb
1 changed files with 1 additions and 2 deletions
|
@ -101,8 +101,7 @@ class Movies(KodiDb):
|
||||||
if obj['Countries']:
|
if obj['Countries']:
|
||||||
self.add_countries(*values(obj, QU.update_country_obj))
|
self.add_countries(*values(obj, QU.update_country_obj))
|
||||||
|
|
||||||
tags = []
|
tags = list(obj['Tags'] or [])
|
||||||
tags.extend(obj['Tags'] or [])
|
|
||||||
tags.append(obj['LibraryName'])
|
tags.append(obj['LibraryName'])
|
||||||
|
|
||||||
if obj['Favorite']:
|
if obj['Favorite']:
|
||||||
|
|
Loading…
Reference in a new issue