mirror of
https://github.com/acgnhiki/blrec.git
synced 2024-12-27 17:10:18 +08:00
refactor: amend _ERROR_PATTERN
This commit is contained in:
parent
305ec40a46
commit
63199c2ce4
@ -19,7 +19,9 @@ class RemuxingProgress:
|
||||
total: int
|
||||
|
||||
|
||||
_ERROR_PATTERN = re.compile(r'\b(error|missing|invalid|corrupt)\b', re.IGNORECASE)
|
||||
_ERROR_PATTERN = re.compile(
|
||||
r'\b(error|missing|invalid|corrupt|illegal|overflow|out of range)\b', re.IGNORECASE
|
||||
)
|
||||
|
||||
|
||||
@attr.s(auto_attribs=True, slots=True, frozen=True)
|
||||
|
Loading…
Reference in New Issue
Block a user