From 601281fe33eaa156689dbd892151400c63b80c7a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 9 Nov 2018 23:11:21 +0100 Subject: [PATCH] Fix bug --- discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot.py b/discordbot.py index 673bf421..2e5e64d5 100644 --- a/discordbot.py +++ b/discordbot.py @@ -179,7 +179,7 @@ class Video: "key": 'FFmpegExtractAudio', "preferredcodec": 'opus' }], - "outtmpl": f"./opusfiles/{self.file}", + "outtmpl": self.file, "progress_hooks": progress_hooks, "quiet": True}) as ytdl: await loop.run_in_executor(executor, functools.partial(ytdl.download, [self.url]))