Skip to content

Commit

Permalink
Fix issue with --clean, -v and --cpu (issue #20).
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBelcour committed May 22, 2019
1 parent 36226c6 commit 8caea49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpwt/multipwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def run_mpwt():
utils.cleaning(number_cpu, verbose)
if input_folder:
utils.cleaning_input(input_folder, verbose)
if argument_number == 1 or (argument_number == 2 and verbose):
if argument_number == 1 or (argument_number == 2 and verbose) or (argument_number == 3 and verbose and number_cpu):
sys.exit()

multiprocess_pwt(input_folder,
Expand Down

0 comments on commit 8caea49

Please sign in to comment.