zad4 jenkins docker image creation

This commit is contained in:
s464953 2024-03-30 13:33:33 +01:00
parent 16649b92e5
commit 5793ad070b

View File

@ -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)