mirror of https://github.com/devine-dl/devine.git
Ignore aria2's "If errors see the log file" logs
This commit is contained in:
parent
d3cfc722dc
commit
0ac1955db6
|
@ -135,6 +135,8 @@ async def aria2c(
|
||||||
elif not is_dl_summary:
|
elif not is_dl_summary:
|
||||||
if "aria2 will resume download if the transfer is restarted" in line:
|
if "aria2 will resume download if the transfer is restarted" in line:
|
||||||
continue
|
continue
|
||||||
|
if "If there are any errors, then see the log file" in line:
|
||||||
|
continue
|
||||||
log_buffer += f"{line.strip()}\n"
|
log_buffer += f"{line.strip()}\n"
|
||||||
|
|
||||||
if log_buffer:
|
if log_buffer:
|
||||||
|
|
Loading…
Reference in New Issue