Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error variable not being reset when failure in a coroutine call in flags2_asyncio.py #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

charlielito
Copy link

In the asyncio example in flags2_asyncio.py there is a bug when a call to a coroutine in the loop fails and the next one has success, the error variable doesn't get reset and it still thinks it got an error, and updates the counter[status] with the wrong value

Fix `error` variable not being reset when a successful coroutine call
@charlielito charlielito changed the title Fix error variable not being reset when a successful coroutine call in flags2_asyncio.py Fix error variable not being reset when with a failure in a coroutine call in flags2_asyncio.py Mar 26, 2023
@charlielito charlielito changed the title Fix error variable not being reset when with a failure in a coroutine call in flags2_asyncio.py Fix error variable not being reset when failure in a coroutine call in flags2_asyncio.py Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant