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: