From 5793ad070bcebd1c1425f1988be842bab6cdfed8 Mon Sep 17 00:00:00 2001 From: s464953 Date: Sat, 30 Mar 2024 13:33:33 +0100 Subject: [PATCH] zad4 jenkins docker image creation --- data_preparation_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_preparation_script.py b/data_preparation_script.py index 7293741..3bde572 100644 --- a/data_preparation_script.py +++ b/data_preparation_script.py @@ -79,7 +79,7 @@ if not os.path.exists(destination_folder): else: print(f"Folder {destination_folder} już istnieje.") -if len(os.listdir(destination_folder)) == 0: +if 'Spotify_Dataset.csv' not in os.listdir(destination_folder): # Pobranie pliku filepath = download_file(url, filename, destination_folder)