Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Aug 17, 2024
1 parent 210eed9 commit 4862346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Mirror Private Repo to Public Repo
name: Sync Repo

on:
workflow_dispatch: # Allows the action to be triggered manually
Expand Down
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"
Expand Down

0 comments on commit 4862346

Please sign in to comment.