From 335a42ea8335dd535162e339caec68d6b8a6c4f8 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 30 Sep 2020 15:33:25 +0200 Subject: [PATCH] Fixed retrocompatibility explicit in queueItem --- deemix/app/queueitem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/queueitem.py b/deemix/app/queueitem.py index ab14a55..819f331 100644 --- a/deemix/app/queueitem.py +++ b/deemix/app/queueitem.py @@ -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']