From 69adfa44fd443c14aba4470ac64abd8301ab207b Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 9 Nov 2016 17:30:24 -0500 Subject: [PATCH] [Audio] Fix for AttributeError in [p]queue (#458) --- cogs/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/audio.py b/cogs/audio.py index 6111a4c0b..8d963f96d 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -412,7 +412,7 @@ class Audio: while any([d.is_alive() for d in downloaders]): await asyncio.sleep(0.1) - songs = [d.song for d in downloaders] + songs = [d.song for d in downloaders if d.song is not None] return songs async def _download_next(self, server, curr_dl, next_dl):