Update flags2_asyncio.py
Fix `error` variable not being reset when a successful coroutine call
This commit is contained in:
committed by
GitHub
parent
28d6d03315
commit
51055887dd
@@ -79,6 +79,8 @@ async def supervisor(cc_list: list[str],
|
|||||||
error = exc # <10>
|
error = exc # <10>
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
error = None
|
||||||
|
|
||||||
if error:
|
if error:
|
||||||
status = DownloadStatus.ERROR # <11>
|
status = DownloadStatus.ERROR # <11>
|
||||||
|
|||||||
Reference in New Issue
Block a user