8 lines
218 B
Python
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")
|