mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[Audio] Fix for AttributeError in [p]queue (#458)
This commit is contained in:
parent
a3ab4c6fa0
commit
69adfa44fd
@ -412,7 +412,7 @@ class Audio:
|
|||||||
while any([d.is_alive() for d in downloaders]):
|
while any([d.is_alive() for d in downloaders]):
|
||||||
await asyncio.sleep(0.1)
|
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
|
return songs
|
||||||
|
|
||||||
async def _download_next(self, server, curr_dl, next_dl):
|
async def _download_next(self, server, curr_dl, next_dl):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user