Fix TypeError

This commit is contained in:
tomkat83 2016-09-11 11:29:51 +02:00
parent 751e55b9d5
commit 7b578603ca

View file

@ -1620,7 +1620,7 @@ class LibrarySync(Thread):
for plextype in typus:
items.extend(emby_db.itemsByType(plextype))
# Shuffle the list to not always start out identically
items = shuffle(items)
shuffle(items)
for item in items:
self.fanartqueue.put({
'itemId': item['plexId'],