From 4aafedda341385104c28007d4cb1d74632da5c6c Mon Sep 17 00:00:00 2001 From: clementupshot <159793462+clementupshot@users.noreply.github.com> Date: Sat, 20 Jul 2024 13:38:47 +0200 Subject: [PATCH] Clean logs --- updater.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/updater.py b/updater.py index 65381f1..aa90e01 100644 --- a/updater.py +++ b/updater.py @@ -7,12 +7,13 @@ from concurrent.futures import ThreadPoolExecutor def download_url(url, download_path): target_file_path = os.path.join(download_path, os.path.basename(url)) if os.path.exists(target_file_path): - print(f"File already exists: {url}") + # print(f"File already exists: {url}") return response = requests.get(url) if response.status_code == 404: - print(f"File not exist: {url}") + # print(f"File not exist: {url}") + pass else: # create the entire path if it doesn't exist @@ -20,7 +21,7 @@ def download_url(url, download_path): with open(target_file_path, "wb") as f: f.write(response.content) - print(f"Downloaded: {url} to {target_file_path}") + # print(f"Downloaded: {url} to {target_file_path}") def download_binance_monthly_data(