forked from DRMTalks/devine
Ignore ERROR prints from aria2c progress checks
This commit is contained in:
parent
7560ee96c9
commit
18449c4777
|
@ -118,7 +118,7 @@ async def aria2c(
|
||||||
buffer += byte
|
buffer += byte
|
||||||
if byte == b"]":
|
if byte == b"]":
|
||||||
recording = False
|
recording = False
|
||||||
if b"FileAlloc" not in buffer:
|
if b"FileAlloc" not in buffer and b"ERROR" not in buffer:
|
||||||
try:
|
try:
|
||||||
# id, dledMiB/totalMiB(x%), CN:xx, DL:xxMiB, ETA:Xs
|
# id, dledMiB/totalMiB(x%), CN:xx, DL:xxMiB, ETA:Xs
|
||||||
# eta may not always be available
|
# eta may not always be available
|
||||||
|
|
Loading…
Reference in New Issue