Merge extend into list declaration

This commit is contained in:
Brian Pepple 2020-09-27 11:47:07 -04:00 committed by Odd Stråbø
parent 785d0d4844
commit 9d64ca41cb

View file

@ -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']: