From dcae38778a1ce10d72ef1bf2930f625e997fbacb Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Wed, 21 Dec 2016 17:12:13 -0600 Subject: [PATCH] corrected issue where tuple was returned as the 'result' instead of taking that apart --- cogs/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/music.py b/cogs/music.py index 90dc54a..5455bee 100644 --- a/cogs/music.py +++ b/cogs/music.py @@ -264,7 +264,7 @@ class Music: info = await self.downloader.extract_info(self.bot.loop, song, download=False, process=True) song = info.get('entries', [])[0]['webpage_url'] - _entry = await state.songs.add_entry(song, ctx.message.author) + _entry, position = await state.songs.add_entry(song, ctx.message.author) if 'ytsearch' in info.get('url', ''): print(info) await self.bot.say('Enqueued ' + str(_entry))