Skip to content

Commit

Permalink
silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Nov 12, 2024
1 parent a6f7780 commit 45e56da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def download_locustfile_from_url(url: str) -> str:
sys.stderr.write(
f"Failed to get locustfile from: {url}. Response was not valid python code: '{response.text[:100]}'"
)
sys.exit(1)
sys.exit(1)

with open(os.path.join(tempfile.gettempdir(), urlparse(url).path.split("/")[-1]), "w") as locustfile:
locustfile.write(response.text)
Expand Down

0 comments on commit 45e56da

Please sign in to comment.