Fix nonexistant kwarg

This commit is contained in:
Dillon DuPont
2025-07-01 12:39:26 -04:00
parent 57b6efe833
commit cd5c0fbb2a

View File

@@ -89,14 +89,13 @@ class Watchdog:
try:
# Create a simple ping message
ping_message = {
"type": "ping",
"timestamp": time.time()
"command": "get_screen_size",
"params": {}
}
# Try to connect to the WebSocket
async with websockets.connect(
self.ws_uri,
timeout=10,
max_size=1024 * 1024 * 10 # 10MB limit to match server
) as websocket:
# Send ping message