Companion: Fix TypeError

This commit is contained in:
tomkat83 2017-05-20 18:49:40 +02:00
parent eba270c63d
commit f785b828ca

View file

@ -161,7 +161,7 @@ class Playqueue(Thread):
not old_item['file'].startswith(PLUGIN)): not old_item['file'].startswith(PLUGIN)):
# Ignore media by other addons # Ignore media by other addons
continue continue
except AttributeError: except (TypeError, AttributeError):
# were not passed a filename; ignore # were not passed a filename; ignore
pass pass
if new_item.get('id') is None: if new_item.get('id') is None: