Yaron Koresh commited on
Commit
71526bb
·
verified ·
1 Parent(s): 43b034a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def parallel(*pairs):
143
 
144
  for pair in pairs:
145
  f = pair.pop(0)
146
- running_tasks.append(Process(target=task, args=(*pair)))
147
  for running_task in running_tasks:
148
  running_task.start()
149
  for running_task in running_tasks:
 
143
 
144
  for pair in pairs:
145
  f = pair.pop(0)
146
+ running_tasks.append(Process(target=task, args=(pair,)))
147
  for running_task in running_tasks:
148
  running_task.start()
149
  for running_task in running_tasks: