Skip to content

Commit

Permalink
Improve --profile
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed May 26, 2024
1 parent 2b4edd0 commit e2d8a20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coconut/command/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e2d8a20

Please sign in to comment.