Ignore ERROR prints from aria2c progress checks

This commit is contained in:
rlaphoenix 2023-02-27 00:00:55 +00:00
parent 7560ee96c9
commit 18449c4777
1 changed files with 1 additions and 1 deletions

View File

@ -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