Companion: Fix TypeError
This commit is contained in:
parent
eba270c63d
commit
f785b828ca
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue