Skip to content

Commit

Permalink
[FirmwareFlasher] Repository would error when case-sensitive - 0.0.4 (#…
Browse files Browse the repository at this point in the history
…197)

* make lowercase

* increment
  • Loading branch information
krautech committed Dec 16, 2024
1 parent 552ebb9 commit 79a72dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
ClassVar,
)

FLASHER_VERSION: str = "0.0.3"
FLASHER_VERSION: str = "0.0.4"

PAGE_WIDTH: int = 89 # Default global width

Expand Down Expand Up @@ -2243,8 +2243,8 @@ def verify_repository(self) -> bool:
capture_output=True,
check=True,
)
origin_url = result.stdout.strip()
if origin_url != "https://github.com/arksine/katapult":
origin_url = result.stdout.strip().lower()
if origin_url != "https://github.com/arksine/katapult".lower():
Utils.error_msg(f"Unexpected repository URL: {origin_url}")
return False
except subprocess.CalledProcessError as e:
Expand Down

0 comments on commit 79a72dd

Please sign in to comment.