From b6eff133496d303a648f0b4c618ced42260e9cc8 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 22 Aug 2020 10:22:29 +0200 Subject: [PATCH] Fixed QueueError for single item --- deemix/app/queuemanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/queuemanager.py b/deemix/app/queuemanager.py index 7f498af..b9a48cf 100644 --- a/deemix/app/queuemanager.py +++ b/deemix/app/queuemanager.py @@ -363,7 +363,7 @@ class QueueManager: interface.send("addedToQueue", slimmedItems) else: if isinstance(queueItem, QueueError): - logger.error(f"[{x.link}] {x.message}") + logger.error(f"[{queueItem.link}] {queueItem.message}") if interface: interface.send("queueError", queueItem.toDict()) return False