From e2d8a20befc15a41e9ea045c0e76f3ed51c54357 Mon Sep 17 00:00:00 2001 From: Evan Hubinger Date: Sat, 25 May 2024 22:10:33 -0700 Subject: [PATCH] Improve --profile --- coconut/command/command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coconut/command/command.py b/coconut/command/command.py index 4b13bf70..48726cab 100644 --- a/coconut/command/command.py +++ b/coconut/command/command.py @@ -740,6 +740,8 @@ def handling_exceptions(self, exit_on_error=None, error_callback=None): def set_jobs(self, jobs, profile=False): """Set --jobs.""" + if profile and jobs is None: + jobs = 0 if jobs in (None, "sys"): self.jobs = jobs else: