fix(musicdownloader): pylint fixes
This commit is contained in:
parent
da840a2517
commit
634226f0d3
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class MusicDownloader(commands.Cog):
|
|||
msg = ctx.send
|
||||
message = await msg("YouTube Downloader started!")
|
||||
try:
|
||||
ytdlp_output = youtube_download(self, url, data_path, message)
|
||||
ytdlp_output = youtube_download(self, url, data_path)
|
||||
except (utils.DownloadError, utils.ExtractorError):
|
||||
await message.edit(content="Please provide a link to YouTube and not another site.\nThe site you've linked to is known for using DRM protection, so MusicDownloader cannot download from it.")
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue