From 8372b6640dae262f799f4692638108c4b887dd62 Mon Sep 17 00:00:00 2001 From: Michael Wadley Date: Thu, 5 Sep 2024 23:54:15 -0600 Subject: [PATCH] Removed unneeded directory creation. --- generatePlaylist.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/generatePlaylist.py b/generatePlaylist.py index 67ee29f..7521a9c 100644 --- a/generatePlaylist.py +++ b/generatePlaylist.py @@ -20,8 +20,6 @@ def generate_m3u_playlist(playlist_directory, music_directory, output_file, excl Generates an m3u playlist with the given filename in the given directory. The playlist file will contain relative paths and other information for all files with matching extensions in the given music directory, not including any provided exclusions. """ - # Ensure that the directories exist - os.makedirs(music_directory, exist_ok=True) with open(f"{music_directory}{os.path.sep}{output_file}", 'w', encoding='utf-8') as playlist: # Playlist Header