Fixed retrocompatibility explicit in queueItem

This commit is contained in:
RemixDev 2020-09-30 15:33:25 +02:00
parent 72e3316d57
commit 335a42ea83

View file

@ -4,7 +4,7 @@ class QueueItem:
self.title = queueItemDict['title']
self.artist = queueItemDict['artist']
self.cover = queueItemDict['cover']
self.explicit = queueItemDict['explicit']
self.explicit = queueItemDict.get('explicit', False)
self.size = queueItemDict['size']
self.type = queueItemDict['type']
self.id = queueItemDict['id']