From 678e39cc461c63710110b09dc6b93b07d7363e32 Mon Sep 17 00:00:00 2001 From: Lovi <62809003+Lovi-0@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:35:24 +0200 Subject: [PATCH] Fix upload not working. --- upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.py b/upload.py index 5280a10..d882d40 100644 --- a/upload.py +++ b/upload.py @@ -90,7 +90,7 @@ def download_and_extract_latest_commit(): console.log("[green]Getting zip file from repository...") # Download the zipball - response = httpx.get(zipball_url) + response = httpx.get(zipball_url, follow_redirects=True, timeout=10) # Extract the content of the zipball into a temporary folder temp_path = os.path.join(os.path.dirname(os.getcwd()), 'temp_extracted')