Fix: [ALAS] _minitouch_client is not default value

(cherry picked from commit 1ddc7d9365)
This commit is contained in:
LmeSzinc 2024-04-22 00:15:44 +08:00
parent 96926412f6
commit ef7214c5f0

View File

@ -365,7 +365,7 @@ def retry(func):
class Minitouch(Connection): class Minitouch(Connection):
_minitouch_port: int = 0 _minitouch_port: int = 0
_minitouch_client: socket.socket _minitouch_client: socket.socket = None
_minitouch_pid: int _minitouch_pid: int
_minitouch_ws: websockets.WebSocketClientProtocol _minitouch_ws: websockets.WebSocketClientProtocol
max_x: int max_x: int