diff options
Diffstat (limited to 'extmod/uasyncio/funcs.py')
| -rw-r--r-- | extmod/uasyncio/funcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/uasyncio/funcs.py b/extmod/uasyncio/funcs.py index 23a585aa9..dc52ad395 100644 --- a/extmod/uasyncio/funcs.py +++ b/extmod/uasyncio/funcs.py @@ -123,7 +123,7 @@ def gather(*aws, return_exceptions=False): # Either this gather was cancelled, or one of the sub-tasks raised an exception with # return_exceptions==False, so reraise the exception here. - if state is not 0: + if state: raise state # Return the list of return values of each sub-task. |
