From ac10d4edf7a63d3ab1aeba35653f7fe7e458dd4a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 1 Aug 2023 15:08:51 -0400 Subject: [PATCH] fix: added kwarg to change_data_path so it properly supports spaces --- musicdownloader/musicdownloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicdownloader/musicdownloader.py b/musicdownloader/musicdownloader.py index 7840ca5..bc46c1e 100644 --- a/musicdownloader/musicdownloader.py +++ b/musicdownloader/musicdownloader.py @@ -15,7 +15,7 @@ class MusicDownloader(commands.Cog): @commands.command() @checks.is_owner() - async def change_data_path(self, ctx: commands.Context, data_path: str = None): + async def change_data_path(self, ctx: commands.Context, *, data_path: str = None): """This command changes the data path this cog outputs to.""" old_path = await self.config.save_directory() if not data_path: