Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5105588

Browse files
Update flags2_asyncio.py
Fix `error` variable not being reset when a successful coroutine call
1 parent 28d6d03 commit 5105588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎20-executors/getflags/flags2_asyncio.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ async def supervisor(cc_list: list[str],
7979
error = exc # <10>
8080
except KeyboardInterrupt:
8181
break
82+
else:
83+
error = None
8284

8385
if error:
8486
status = DownloadStatus.ERROR # <11>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /