diff --git a/delojza.py b/delojza.py index 004d42b..57291de 100755 --- a/delojza.py +++ b/delojza.py @@ -188,7 +188,7 @@ class DelojzaBot: with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download(urls) for info in [ydl.extract_info(url, download=False) for url in urls]: - filename = self.sanitize(ydl.prepare_filename(info)) + filename = ydl.prepare_filename(info) globbeds = glob(os.path.splitext(filename)[0] + '.*') for globbed in globbeds: if globbed.endswith("mp3"):