diff --git a/musicdownloader/musicdownloader.py b/musicdownloader/musicdownloader.py index 5890ca7..57f55cd 100644 --- a/musicdownloader/musicdownloader.py +++ b/musicdownloader/musicdownloader.py @@ -20,8 +20,6 @@ class MusicDownloader(commands.Cog): def create_table(self): data_path = str(data_manager.cog_data_path()) + f"{os.sep}MusicDownloader" - if not os.path.isdir(data_path): - os.makedirs(data_path) db_path = os.path.join(data_path, "database.db") if not os.path.isfile(db_path): con = sqlite3.connect(db_path)