zad4 jenkins docker image creation
This commit is contained in:
parent
16649b92e5
commit
5793ad070b
@ -79,7 +79,7 @@ if not os.path.exists(destination_folder):
|
|||||||
else:
|
else:
|
||||||
print(f"Folder {destination_folder} już istnieje.")
|
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
|
# Pobranie pliku
|
||||||
filepath = download_file(url, filename, destination_folder)
|
filepath = download_file(url, filename, destination_folder)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user