gitea_push2qq/unit.py

8 lines
166 B
Python

from typing import Any
from sanic.log import Colors
def sio_log_format(text: str, data: Any):
return f"{Colors.GREEN}{text} {Colors.PURPLE}{data}{Colors.END}"