From 2260334965f26ea3416018000b452532c251ba85 Mon Sep 17 00:00:00 2001 From: KeksNino <87879013+KeksNino@users.noreply.github.com> Date: Sat, 20 Sep 2025 00:07:40 +0200 Subject: [PATCH] make csv_file independent of download_folder --- csv_file_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csv_file_sync.py b/csv_file_sync.py index 2d8418c..afad712 100644 --- a/csv_file_sync.py +++ b/csv_file_sync.py @@ -6,10 +6,10 @@ download_folder = "YOUR_FILE_DIRECTORY_PATH" csv_file = "YOUR_CSV_FILE_PATH" playlist_tracks = set() -with open(download_folder + csv_file, newline='', encoding='utf-8') as f: +with open(csv_file, newline='', encoding='utf-8') as f: reader = csv.reader(f) for row in reader: - row = row[:-1]y + row = row[:-1] filename = f"{row[1]} - {row[0]}.mp3" playlist_tracks.add(filename)