Skip to content

Commit 5a2fc8a

Browse files
committed
debugger
1 parent bc54c4d commit 5a2fc8a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/utils/helper/connector.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
from dataclasses import dataclass
21
import json
32
import select
3+
import subprocess
4+
from dataclasses import dataclass
45
from typing import Optional
56

6-
from matplotlib.ft2font import LOAD_CROP_BITMAP
7+
import logger
8+
79
from src.utils.response import EaseVoiceResponse
8-
import subprocess
910

1011

1112
class ConnectorDataType:
@@ -74,6 +75,7 @@ def read_data(self, process: subprocess.Popen):
7475
if isinstance(line, bytes):
7576
line = line.decode('utf-8')
7677

78+
logger.logger.error(f"read line: {line}")
7779
parsed = self._parse_result(line.strip())
7880
if parsed is not None:
7981
yield parsed

0 commit comments

Comments
 (0)