From 520a1b500f7a08fb62a0eb3de7f9c5f68ba10451 Mon Sep 17 00:00:00 2001 From: Nix <75538775+nixietab@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:45:17 -0300 Subject: [PATCH] Update Build.yml --- .github/workflows/Build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index e9b8c00..442ea59 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -47,7 +47,7 @@ def download_file(url, dest_path): print(f"Downloading: {url}") response = requests.get(url, stream=True) if response.status_code == 200: - with open(dest_path, 'wb') as file: + with open(dest_path, "wb") as file: shutil.copyfileobj(response.raw, file) print(f"Downloaded to: {dest_path}") else: @@ -55,7 +55,7 @@ def download_file(url, dest_path): def extract_zip(zip_path, extract_to): print(f"Extracting {zip_path} to {extract_to}") - with zipfile.ZipFile(zip_path, 'r') as zip_ref: + with zipfile.ZipFile(zip_path, "r") as zip_ref: zip_ref.extractall(extract_to) print(f"Extraction complete") @@ -143,9 +143,9 @@ def compile_with_pyinstaller(): def rename_progress_folder(): # Check if the "progress" folder exists - if os.path.exists('progress'): + if os.path.exists("progress"): # Rename it to "picodulce" - os.rename('progress', 'picodulce') + os.rename("progress", "picodulce") print("Folder 'progress' has been renamed to 'picodulce'.") else: print("The 'progress' folder does not exist.")