From 8f98b4ea95554011037c6385f33b578c780d3777 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 23 Jul 2017 18:49:12 -0500 Subject: [PATCH] Provide the rest of the settings needed for WrongEntryTypeError --- cogs/voice_utilities/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/voice_utilities/playlist.py b/cogs/voice_utilities/playlist.py index f35d9eb..1aed8e2 100644 --- a/cogs/voice_utilities/playlist.py +++ b/cogs/voice_utilities/playlist.py @@ -62,7 +62,7 @@ class Playlist(EventEmitter): raise ExtractionError('Could not extract information from %s' % playlist_url) if info.get('playlist') is None: - raise WrongEntryTypeError('This is not a playlist!') + raise WrongEntryTypeError('This is not a playlist!', False, playlist_url) # Once again, the generic extractor fucks things up. if info.get('extractor', None) == 'generic':