diff --git a/locust/argument_parser.py b/locust/argument_parser.py index 5e00126fb0..827a2f880e 100644 --- a/locust/argument_parser.py +++ b/locust/argument_parser.py @@ -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)