Skip to content

Commit

Permalink
Fix type error in micall_docker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Oct 31, 2024
1 parent b36113b commit 84cd63b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions micall/utils/micall_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ def process_run(run_info, args):
run_summary = summarize_run(run_info)

def runner(func, inputs):
inputs = list(inputs)
if args.max_active > 1 and len(inputs) > 1:
with ProcessPoolExecutor(max_workers=args.max_active) as pool:
list(pool.map(func, inputs))
Expand Down

0 comments on commit 84cd63b

Please sign in to comment.