From 98f5928af5687f883fa1fbc8173c0a4962931ec2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 2 Aug 2023 01:28:49 -0400 Subject: [PATCH] fix: fixed blacklist_remove command --- musicdownloader/musicdownloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicdownloader/musicdownloader.py b/musicdownloader/musicdownloader.py index 5f1b21f..a26d5c9 100644 --- a/musicdownloader/musicdownloader.py +++ b/musicdownloader/musicdownloader.py @@ -208,7 +208,7 @@ class MusicDownloader(commands.Cog): @blacklist.command(name='remove') @checks.is_owner() async def blacklist_remove(self, ctx: commands.Context, user: discord.User): - data_path = str(data_manager.cog_data_path()) + f"{os.sep}MusicDownloader{os.sep}Data" + data_path = str(data_manager.cog_data_path()) + f"{os.sep}MusicDownloader" db_path = os.path.join(data_path, "database.db") con = sqlite3.connect(db_path) cur = con.cursor()