Skip to content

Commit 548cc59

Browse files
committed
Make device code casesensitive in download link
1 parent 7a65066 commit 548cc59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openandroidinstaller/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def get_download_link(devicecode: str) -> Optional[str]:
2424
"""Check if a lineageOS version for this device exists on download.lineageos.com and return the respective download link."""
25-
url = f"https://download.lineageos.org/{devicecode.lower()}"
25+
url = f"https://download.lineageos.org/{devicecode}"
2626
try:
2727
logger.info(f"Checking {url}")
2828
# Get Url

0 commit comments

Comments
 (0)