mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 18:46:13 +00:00
Fixed retrocompatibility explicit in queueItem
This commit is contained in:
parent
72e3316d57
commit
335a42ea83
|
@ -4,7 +4,7 @@ class QueueItem:
|
||||||
self.title = queueItemDict['title']
|
self.title = queueItemDict['title']
|
||||||
self.artist = queueItemDict['artist']
|
self.artist = queueItemDict['artist']
|
||||||
self.cover = queueItemDict['cover']
|
self.cover = queueItemDict['cover']
|
||||||
self.explicit = queueItemDict['explicit']
|
self.explicit = queueItemDict.get('explicit', False)
|
||||||
self.size = queueItemDict['size']
|
self.size = queueItemDict['size']
|
||||||
self.type = queueItemDict['type']
|
self.type = queueItemDict['type']
|
||||||
self.id = queueItemDict['id']
|
self.id = queueItemDict['id']
|
||||||
|
|
Loading…
Reference in a new issue