Fixed QueueError for single item

This commit is contained in:
RemixDev 2020-08-22 10:22:29 +02:00
parent 3aee9f6725
commit b6eff13349
1 changed files with 1 additions and 1 deletions

View File

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