Merge pull request #35 from charlielito/patch-1
Fix `error` variable not being reset when failure in a coroutine call in flags2_asyncio.py
This commit is contained in:
commit
f355aa37ed
@ -79,6 +79,8 @@ async def supervisor(cc_list: list[str],
|
||||
error = exc # <10>
|
||||
except KeyboardInterrupt:
|
||||
break
|
||||
else:
|
||||
error = None
|
||||
|
||||
if error:
|
||||
status = DownloadStatus.ERROR # <11>
|
||||
|
Loading…
x
Reference in New Issue
Block a user