fix(musicdownloader): pylint fixes

This commit is contained in:
Seaswimmer 2023-09-24 20:45:28 -04:00
parent da840a2517
commit 634226f0d3
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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