Skip to content

Commit

Permalink
result should always be a list
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed Feb 20, 2021
1 parent 7106d15 commit 7bd074e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathos/helpers/pp_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def successful(self):

def _set(self, i, task): #XXX: unordered by how fill _value & imap in _set?
task.wait()
success, result = task.successful(), (task.result,)
success, result = task.successful(), [task.result]
if success:
self._value[i*self._chunksize:(i+1)*self._chunksize] = result
self._number_left -= 1
Expand Down

0 comments on commit 7bd074e

Please sign in to comment.