Skip to content

Commit

Permalink
Fix get_browser()'s use of pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Jan 3, 2025
1 parent c2d4290 commit ddbe6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choreographer/_cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_browser_sync(
if src["platform"] == arch:
url = src["url"]
break
if not path.exists:
if not path.exists():
path.mkdir(parents=True)
filename = path / "chrome.zip"
with urllib.request.urlopen(url) as response, filename.open("wb") as out_file: # noqa: S310 audit url
Expand Down

0 comments on commit ddbe6b4

Please sign in to comment.