Skip to content

Commit

Permalink
fix: bad URL in raw.githubusercontent.com (frappe#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry authored Aug 28, 2022
1 parent 871c703 commit 589f7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 589f7a4

Please sign in to comment.