From 4862346e959af25cd752ef25758e0829f2cada15 Mon Sep 17 00:00:00 2001 From: Magic <82341152+MagicTheDev@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:27:41 -0500 Subject: [PATCH] initial --- .github/workflows/sync.yml | 2 +- main.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 973678d..7dc7e82 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -1,4 +1,4 @@ -name: Mirror Private Repo to Public Repo +name: Sync Repo on: workflow_dispatch: # Allows the action to be triggered manually diff --git a/main.py b/main.py index 2aa713e..ce59c4e 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,6 @@ ASSETS_DIR = BASE_DIR / "assets" SUPPORTED_FORMATS = ["jpg", "jpeg", "png", "webp"] - def find_alternative_format(relative_path: Path): for ext in SUPPORTED_FORMATS: potential_file = ASSETS_DIR / f"{relative_path.with_suffix('.' + ext)}"