2026-02-06 09:52:23 +08:00

8 lines
218 B
Python

from __future__ import annotations
try:
from ameba_fastlog import decode_line # type: ignore
except Exception: # noqa: BLE001
def decode_line(data: bytes) -> str:
return data.decode(errors="ignore")