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

Appearance settings

Commit 5105588

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎20-executors/getflags/flags2_asyncio.py

Copy file name to clipboardExpand all lines: 20-executors/getflags/flags2_asyncio.py
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.