mirror of
https://github.com/frappe/bench.git
synced 2025-01-08 00:04:38 +00:00
fix: bad URL in raw.githubusercontent.com (#1363)
This commit is contained in:
parent
871c703ee3
commit
589f7a400e
@ -185,7 +185,7 @@ def get_required_deps(org, name, branch, deps="hooks.py"):
|
||||
res = requests.get(url=git_api_url, params=params).json()
|
||||
|
||||
if "message" in res:
|
||||
git_url = f"https://raw.githubusercontent.com/{org}/{name}/{params['branch']}/{deps}"
|
||||
git_url = f"https://raw.githubusercontent.com/{org}/{name}/{params['branch']}/{name}/{deps}"
|
||||
return requests.get(git_url).text
|
||||
|
||||
return base64.decodebytes(res["content"].encode()).decode()
|
||||
|
Loading…
Reference in New Issue
Block a user