Fixed retrocompatibility explicit in queueItem

This commit is contained in:
RemixDev 2020-09-30 15:33:25 +02:00
parent 72e3316d57
commit 335a42ea83
1 changed files with 1 additions and 1 deletions

View File

@ -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']